if (Pazpar2ResponseParser.docTypes.contains(responseObject.getType())) {\r
pzresp.put(commandName, responseObject);\r
} else {\r
- if (commandName.equals("record") && pzreq.getRecord().hasParameterValue("offset")) {\r
+ if (commandName.equals("record") && \r
+ (pzreq.getRecord().hasParameterValue("offset") ||\r
+ pzreq.getRecord().hasParameterValue("checksum"))) {\r
RecordResponse recordResponse = new RecordResponse();\r
recordResponse.setType("record");\r
recordResponse.setXml(responseObject.getXml());\r