Bug 21880: "Relationship information" disappears when accessing paginated results...
authorAndreas Roussos <arouss1980@gmail.com>
Fri, 23 Nov 2018 17:30:23 +0000 (19:30 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Dec 2018 12:07:45 +0000 (12:07 +0000)
commite4e33525260bb5917ff4d395d7c2c6d5b0987246
tree6ccb0764fa710d9219a3433be0e4ecfa4bbf2f4b
parent305729fdc04c723b2eb372441500d3151e1a62d3
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 <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 8bf032f512687cfe7ddc3748675c54f18b08c010)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt