From 0817a4c5ccfaad7676a552c155318aaf67b1bea4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 23 Nov 2012 14:38:03 +0100 Subject: [PATCH] Bug 9134: There is no previous link on the second page of the search results page Signed-off-by: Melia Meggs Signed-off-by: Katrin Fischer All tests pass. Checked paging forwards, backwards, using 'Previous', 'Next' and page numbers works correctly in staff and OPAC. Signed-off-by: Jared Camins-Esakov Conflicts: koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc | 2 +- koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc index 6909e1c653..a0f6abb75e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc @@ -1,6 +1,6 @@ [% IF ( PAGE_NUMBERS ) %]
- [% IF ( previous_page_offset ) %]<< Previous[% END %] + [% IF ( previous_page_offset.defined ) %]<< Previous[% END %] [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %][% PAGE_NUMBER.pg %][% ELSE %] [% PAGE_NUMBER.pg %][% END %] [% END %] [% IF ( next_page_offset ) %]Next >>[% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc b/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc index d7b337f5da..33d5a3e386 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc @@ -1,6 +1,6 @@ [% IF ( PAGE_NUMBERS ) %]
- [% IF ( previous_page_offset ) %]<< Previous[% END %] + [% IF ( previous_page_offset.defined ) %]<< Previous[% END %] [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %][% PAGE_NUMBER.pg %][% ELSE %] [% PAGE_NUMBER.pg %][% END %] [% END %] [% IF ( next_page_offset ) %]Next >>[% END %]
[% END %] -- 2.39.5