From e4e33525260bb5917ff4d395d7c2c6d5b0987246 Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Fri, 23 Nov 2018 19:30:23 +0200 Subject: [PATCH] Bug 21880: "Relationship information" disappears when accessing paginated results in authority searches When linking authorities with authorities, if you perform a search that returns >20 results, the "Relationship information" section disappears when you click on the pagination hyperlinks. This patch fixes that. Test plan: 1) In the Authorities module, edit an authority (or create a new one) and try to link it with another authority (via UNIMARC 500$a, for example). 2) When the authority finder comes up, search for something that will yield more than 20 results, then click on the pagination links -- notice how the "Relationship information" section is no longer visible. 3) Apply the patch (and restart Plack/memcached, if necessary). 4) Repeat step 2) -- "Relationship information" is now persistent. Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens (cherry picked from commit 8bf032f512687cfe7ddc3748675c54f18b08c010) Signed-off-by: Martin Renvoize --- .../en/modules/authorities/searchresultlist-auth.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt index 2549c595d0..9a73d88acb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt @@ -14,7 +14,7 @@ [% INCLUDE 'auth-finder-search.inc' %] [% IF ( total ) %]
[% IF ( displayprev ) %] - + << [% END %] @@ -22,12 +22,12 @@ [% IF ( number.highlight ) %] [% number.number | html %] [% ELSE %] - + [% number.number | html %] [% END %] [% END %] [% IF ( displaynext ) %] - + >> [% END %]
@@ -67,7 +67,7 @@
[% IF ( displayprev ) %] - + << [% END %] @@ -75,12 +75,12 @@ [% IF ( number.highlight ) %] [% number.number | html %] [% ELSE %] - + [% number.number | html %] [% END %] [% END %] [% IF ( displaynext ) %] - + >> [% END %]
[% END %] -- 2.39.5