From 781b254ee1885cf7019ab7f635cfc91ffa3e3b3e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 1 Aug 2018 09:01:44 +0100 Subject: [PATCH] Bug 6647: Revert - Label item search should use standard pagination routine" This reverts commit 35fb1fe67cef029201eef6fd53c2d0e4af82195c which depends on a bug not being backported to the 18.05.x branch. Signed-off-by: Martin Renvoize --- .../prog/en/modules/labels/result.tt | 53 +++++++++++-------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt index 0efee7d470..c02a2170d3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt @@ -1,24 +1,3 @@ -[% BLOCK pagination %] - -[% END %] [% USE Asset %] [% INCLUDE 'doc-head-open.inc' %] Koha › Barcodes and labels › Search results @@ -74,7 +53,19 @@

Search results

- [% PROCESS pagination %] + [% IF ( displayprev || displaynext ) %] +

+ [% IF ( displayprev ) %] + << + [% END %] + [% FOREACH number IN numbers %] + [% number.number %] + [% END %] + [% IF ( displaynext ) %] + >> + [% END %] +

+ [% END %] [% IF ( results ) %] Results [% from %] through [% to %] [% IF ( total ) %] of [% total %][% END %] [% ELSE %] @@ -141,7 +132,23 @@ z [% END -%]
- [% PROCESS pagination %] + [% IF ( displayprev || displaynext ) %] +

+ [% IF ( displayprev ) %] + << + [% END %] + [% FOREACH number IN numbers %] + [% IF ( number.highlight ) %] + [% number.number %] + [% ELSE %] + [% number.number %] + [% END %] + [% END %] + [% IF ( displaynext ) %] + >> + [% END %] +

+ [% END %] [% INCLUDE 'popup-bottom.inc' %] -- 2.39.5