2e30600a58
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Confirmed the problem with test plan on the bug and checked that paging works correctly after the patch. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
6 lines
1 KiB
HTML
6 lines
1 KiB
HTML
[% IF ( PAGE_NUMBERS ) %]<div class="pages">
|
|
<!-- Row of numbers corresponding to search result pages -->
|
|
[% IF ( previous_page_offset ) %]<a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% previous_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |htm l%][% END %]"><< Previous</a>[% END %]
|
|
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %]<span class="current">[% PAGE_NUMBER.pg %]</span>[% ELSE %] <a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html%][% END %]">[% PAGE_NUMBER.pg %]</a>[% END %]
|
|
[% END %]
|
|
[% IF ( next_page_offset ) %]<a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% next_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">Next >></a>[% END %] </div>[% END %]
|