Bug 22695: Remove non-XSLT search results view from the staff client
authorOwen Leonard <oleonard@myacpl.org>
Fri, 12 Apr 2019 12:52:52 +0000 (12:52 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 16 Apr 2019 13:17:32 +0000 (13:17 +0000)
commit6a58da7da2a3f72825d8b610961961a5f65f1af3
tree059309f015177c3a016e3e7bf2de3fe41d5d5ed7
parent34c835ed141a3b4758ad77e5b72f30e83d57024f
Bug 22695: Remove non-XSLT search results view from the staff client

This patch removes the option to select non-XSLT search results in the
staff client. The patch removes the markup from the template, updates
the system preference options, and modifies Search.pm so that OPAC and
staff client results XSLT functions are not tied together.

To test, apply the patch and set the XSLTResultsDisplay to a blank
value. Run the database update. The value of the XSLTResultsDisplay
system preference should now be "default."

Perform a catalog search in the staff client. The results should be
shown using the XSLT view.

Test that OPAC search results respect the OPACXSLTResultsDisplay
preference when enabled and disabled.

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>
Signed-off-by: Bin Wen <bin.wen@inlibro.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Search.pm
installer/data/mysql/atomicupdate/bug_22695-remove-non-xslt-results.perl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt