[Koha-bugs] [Bug 24103] Add option to dump built search query to templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Feb 15 03:58:37 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24103

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #99023|0                           |1
        is obsolete|                            |

--- Comment #7 from David Nind <david at davidnind.com> ---
Created attachment 99054
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99054&action=edit
Bug 24103: Add option to dump search query to templates

To test:
1 - Apply the patch, update the database 
    (perl installer/data/mysql/updatedatabase.pl)
2 - Note new system preference 'DumpSearchQueryTemplate'
3 - Leave it off
4 - Enable DumpTemplateVarsIntranet and DumpTemplateVarsOpac system 
    preferences
5 - Search on staff and opac
6 - View the page source
7 - Search for 'search_query' - you shouldn't find it
8 - Enable the new system preference
9 - Repeat steps 5-7, but you should now find the 'search_query'
10 - Test staff/opac search and advanced search, cataloguing search, 
     authority search, authfinder search
     (/cgi-bin/koha/authorities/auth_finder.pl),
     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 at myacpl.org>

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list