]> git.koha-community.org Git - koha.git/commit
Bug 14927: Returns item info when resumptionToken is used
authorFrédéric Demians <f.demians@tamil.fr>
Wed, 30 Sep 2015 10:16:52 +0000 (12:16 +0200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 2 Oct 2015 14:05:24 +0000 (11:05 -0300)
commit098fd64621043d7109b5e50f77df8be616243e1f
tree439d82df545cb9eeb99d7678b0dec553ffbc1975
parentca268ad877a6712aa07cb7c873c918d6fdfac52d
Bug 14927: Returns item info when resumptionToken is used

To test:

- activate OAI-PMH with the inclusion of items as explained on bug 12252
- set the OAI-PMH:MaxCount to a low number, 50 for instance
- go to the OAI-PMH page to get the records : [your koha
  catalogue]/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=marcxml
- check that item data is included
- get the resumptionToken at the end of the xml
- got to the next page of records [your koha
  catalogue]/cgi-bin/koha/oai.pl?verb=ListRecords&resumptionToken=[your
  resumption token]
- check that item data is now missing

Apply the patch, and repeat previous steps: item data is back.

Signed-off-by: Gaetan Boisson <gaetan.boisson@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
opac/oai.pl