Bug 17048: Fix pagination offset for authority searches
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 19 Aug 2016 13:36:23 +0000 (14:36 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Sep 2016 13:49:51 +0000 (13:49 +0000)
commitbff08b9962318f6eca873693936e369456f428e5
treeb847779fd8db0a246fa16fa8497f5a2b5356ade9
parent6f5e2f8a865ebe07d4745171dda86c2cbb0e6fe1
Bug 17048: Fix pagination offset for authority searches

At the intranet, the pagination has been broken by bug 12478 (Elastic
Search). There was a confusion between the offset and the page number.

At the OPAC, it is broken since bug 2735 which has mimicked the intranet
script.

Test plan:
Search for a term which will return more than 1 page of results.
Click on the second page
=> Without this patch, the first result of the second page is the second
result of the first page
=> With this patch applied, the offset will be corrected

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
authorities/authorities-home.pl
opac/opac-authorities-home.pl