]> git.koha-community.org Git - koha.git/commit
Bug 28741: Fix use of resumption token params
authorNick Clemens <nick@bywatersolutions.com>
Thu, 22 Jul 2021 17:56:39 +0000 (17:56 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 6 Aug 2021 15:27:16 +0000 (11:27 -0400)
commita6e408fc88caed66d8bf675913d8292a4422fb5d
treee0cbe1e82e7ac97e8420b265c0b04004807b0119
parent065df78c20ce8d4c2e4b4c1875deb759c7fdfb85
Bug 28741: Fix use of resumption token params

TO test:
 1 - Enable OAI-PMH server in Koha
 2 - Set OAI-PMH:MaxCount to 5
 3 - Define 6 sets in Admin->OAI sets configuration
    Can setSpec and setName to 1,2,3....
 4 - Browse to:
    http://localhost:8080/cgi-bin/koha/oai.pl?verb=ListSets
 5 - Click 'Show more'
 6 - Keep seeing the same 5 - note the page says 'Results fetched -4-0'
 7 - Apply patch
 8 - Restart all the things
 9 - Reload the ListSets URL above
10 - Click 'Show more'
11 - See the 6th set and note no 'Show more'
12 - Set OAI-PMH:MaxCount to 1
13 - Go to the base ListSets url again
14 - Confirm you can 'Show more' until you reach the end

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/OAI/Server/ListSets.pm