Bug 6647: Label item search should use standard pagination routine
authorOwen Leonard <oleonard@myacpl.org>
Wed, 6 Jun 2018 14:54:58 +0000 (14:54 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 13 Jul 2018 10:34:29 +0000 (10:34 +0000)
commit1d54746cb2635a7cdec07a37e7ebacfa422d6365
treeceeaa42b6a98a650e026c6cae1717c87fd33cc05
parent19227359a197ae19a6d013c3e0f07a54173d1a46
Bug 6647: Label item search should use standard pagination routine

This patch doesn't fix how pagination links are generated for the label
item search results, but it does modify the template so that the
pagination links are styled like they are on catalog search results.

To test, apply the patch and go to Tools -> Labels.

 - Open or create a label batch.
 - Click "Add items" to trigger the pop-up search window.
 - Perform a search which would return multiple results.
 - Confirm that the style of the pagination bar matches the one on the
   catalog search results page.
 - Confirm that current-page number highlighting works correctly.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt