Bug 22695 - Remove non-XSLT search results view from the staff client
Summary: Remove non-XSLT search results view from the staff client
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 12561 22697
  Show dependency treegraph
 
Reported: 2019-04-12 13:22 UTC by Owen Leonard
Modified: 2020-06-04 20:33 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 22695: Remove non-XSLT search results view from the staff client (9.52 KB, patch)
2019-04-12 13:46 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 22695: Remove non-XSLT search results view from the staff client (9.59 KB, patch)
2019-04-12 18:16 UTC, Pierre-Marc Thibault
Details | Diff | Splinter Review
Bug 22695: Remove non-XSLT search results view from the staff client (9.63 KB, patch)
2019-04-12 19:38 UTC, Bin Wen
Details | Diff | Splinter Review
Bug 22695: Remove non-XSLT search results view from the staff client (9.71 KB, patch)
2019-04-15 02:53 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2019-04-12 13:22:03 UTC
There are no bugs blocking the removal of the non-XSLT search results view in the staff client, so it is safe to remove.
Comment 1 Owen Leonard 2019-04-12 13:46:06 UTC Comment hidden (obsolete)
Comment 2 Pierre-Marc Thibault 2019-04-12 18:16:36 UTC Comment hidden (obsolete)
Comment 3 Bin Wen 2019-04-12 19:38:23 UTC Comment hidden (obsolete)
Comment 4 Chris Cormack 2019-04-15 02:53:18 UTC
Created attachment 87992 [details] [review]
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>
Comment 5 Nick Clemens 2019-04-16 13:27:33 UTC
Awesome work all!

Pushed to master for 19.05
Comment 6 Martin Renvoize 2019-04-25 14:15:46 UTC
Marking as an enhancement as it's a cleanup piece which 'might' surprise users of the stable branch.

Will not be backported to 18.11.x series.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22695
bugs.koha-community.org
crawl=CC-MAIN-2022-27
43268
application/http; msgtype=response
sha1:P4R6HSLPYR5HQCLWYTDDAM3CMMP2R3HY
<urn:uuid:587b0a63-df3c-4d35-a498-bb1f522541b3>
2022-07-03T03:04:39Z
72.14.190.217
text/html
sha1:4CEULXSNKNIFYUR5BLVD35B3G3J4FBCA
<urn:uuid:59931615-63ac-4398-9756-2beb4c0adb26>
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22695
response
<urn:uuid:0dbac71b-d00f-4f5c-981d-3ae1ffc0afd9>
isPartOf: CC-MAIN-2022-27
publisher: Common Crawl
description: Wide crawl of the web for June/July 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-140
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/