@@ -, +, @@ routine - 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. --- .../intranet-tmpl/prog/en/modules/labels/result.tt | 53 ++++++++++------------ 1 file changed, 23 insertions(+), 30 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt @@ -1,3 +1,24 @@ +[% BLOCK pagination %] + +[% END %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] @@ -9,19 +30,7 @@

Search results

- [% IF ( displayprev || displaynext ) %] -

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

- [% END %] + [% PROCESS pagination %] [% IF ( results ) %] Results [% from %] through [% to %] [% IF ( total ) %] of [% total %][% END %] [% ELSE %] @@ -88,24 +97,8 @@
- [% IF ( displayprev || displaynext ) %] -

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

+ [% PROCESS pagination %]
Close
- [% END %] [% MACRO jsinclude BLOCK %] --