Bug 2735: Fix authority search pagination at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 Jun 2016 15:39:56 +0000 (16:39 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 09:48:48 +0000 (11:48 +0200)
commit08efc656cfdf6f572890f27ff822b188dfadf178
tree0923f55ff5a382ea9b0b21918790f01f3d1204ed
parent878402689eb652b09bed0d4f2c7e458d5c5493f4
Bug 2735: Fix authority search pagination at the OPAC

The authority search pagination displays only 15 pages, even when there
are more.
To fix that, this patch mimic the authorities-home.pl intranet script to
manage the pagination.

Test plan:
Without this patch, do some authority search and click on different
pages.
Apply this patch, redo the same search and make sure the same records
are displayed (i.e. confirm that the pagination still works as before).

Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit de2df0dfe85bc8ac33375ad5b436ac247c3875d6)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt
koha-tmpl/opac-tmpl/bootstrap/less/opac.less
opac/opac-authorities-home.pl