Bug 24103: Add option to dump search query to templates
authorNick Clemens <nick@bywatersolutions.com>
Mon, 25 Nov 2019 14:58:00 +0000 (14:58 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 1 Apr 2020 15:29:12 +0000 (15:29 +0000)
commit484ce7d8bdd2ca25e8e85118276f617ce9cf1e1d
treed180fa97c739bd87427eb08918e29f31e5542e00
parenta0808619e86f9902546bc9d221db4c33567f2fac
Bug 24103: Add option to dump search query to templates

To test:
1 - Apply patch, update database
2 - Note new syspref 'DumpSearchQueryTemplate'
3 - Leave it off
4 - Enable DumpTemplateVariablesOpac and Staff
5 - Search on staff and opac
6 - View the source
7 - Search for 'search_query' - you shouldn't find it
8 - Enable the new pref
9 - Repeat, but you should find the query
10 - Test staff/opac search and advanced search, cataloguing search, authority search, authfinder search, adding to a basket form a new biblio
11 - All should work and show the query
12 - This will work under both ES and Zebra

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
authorities/auth_finder.pl
authorities/authorities-home.pl
catalogue/search.pl
cataloguing/addbooks.pl
installer/data/mysql/atomicupdate/Bug_24103_add_DumpSearchQueryTemplate_syspref.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/logs.pref
opac/opac-search.pl