]> git.koha-community.org Git - koha.git/commit
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)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 8 Sep 2016 19:21:58 +0000 (21:21 +0200)
commit61e6f79dfc070dcf5b73177254f39986dbc538f7
treef4dae16ddbf4de4bae7202a243b916a88f5333ce
parent0894b24c3d6e7d915871bd56a22ff9a10741b7b9
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>
(cherry picked from commit bff08b9962318f6eca873693936e369456f428e5)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
authorities/authorities-home.pl
opac/opac-authorities-home.pl