From 99acd38edb0ab7efea33aa206ec62bd04a8f1570 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 3 Jun 2016 12:52:01 -0400 Subject: [PATCH] Bug 14902 - Add qualifier menu to staff side "Search the Catalog" To test: 1 - Apply patch and update dabase 2 - Check that Search the Catalog links throughout the staff interface have not changed 3 - Set "IntranetCatalogSearchPulldown" to 'Show' 4 - Verify that 'Search the catalog' links through staff client now have a dropdwon to select search index I think viewing one file each that includes updated header should be sufficient, but please check as many as you can: cgi-bin/koha/admin/aqbudgetperiods.pl cgi-bin/koha/admin/admin-home.pl cgi-bin/koha/cataloguing/addbooks.pl cgi-bin/koha/circ/returns.pl cgi-bin/koha/circ/circulation-home.pl cgi-bin/koha/admin/cities.pl cgi-bin/koha/admin/aqcontract.pl cgi-bin/koha/admin/currency.pl cgi-bin/koha/mainpage.pl cgi-bin/koha/tools/letter.pl cgi-bin/koha/members/members-home.pl cgi-bin/koha/admin/categories.pl cgi-bin/koha/admin/preferences.pl cgi-bin/koha/admin/printers.pl cgi-bin/koha/serials/serials-home.pl cgi-bin/koha/acqui/newordersuggestion.pl cgi-bin/koha/admin/z3950servers.pl Sponsored by: Northeast Kansas Library System (http://nekls.org/) Signed-off-by: Heather Braum Signed-off-by: Barton Chittenden Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../Bug_14902_Add_IntranetCatalogSearchPulldown_pref.sql | 1 + installer/data/mysql/sysprefs.sql | 1 + .../intranet-tmpl/prog/en/includes/budgets-admin-search.inc | 2 ++ koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc | 2 ++ .../intranet-tmpl/prog/en/includes/cataloging-search.inc | 3 ++- koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc | 2 ++ koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc | 2 ++ .../intranet-tmpl/prog/en/includes/cities-admin-search.inc | 2 ++ .../prog/en/includes/contracts-admin-search.inc | 2 ++ .../prog/en/includes/currencies-admin-search.inc | 2 ++ koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc | 2 ++ koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc | 2 ++ koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 3 ++- .../intranet-tmpl/prog/en/includes/patrons-admin-search.inc | 2 ++ .../intranet-tmpl/prog/en/includes/prefs-admin-search.inc | 2 ++ .../prog/en/includes/printers-admin-search.inc | 2 ++ koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc | 2 ++ .../prog/en/includes/suggestions-add-search.inc | 2 ++ .../intranet-tmpl/prog/en/includes/z3950-admin-search.inc | 2 ++ .../prog/en/modules/admin/preferences/staff_client.pref | 6 ++++++ 20 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 installer/data/mysql/atomicupdate/Bug_14902_Add_IntranetCatalogSearchPulldown_pref.sql diff --git a/installer/data/mysql/atomicupdate/Bug_14902_Add_IntranetCatalogSearchPulldown_pref.sql b/installer/data/mysql/atomicupdate/Bug_14902_Add_IntranetCatalogSearchPulldown_pref.sql new file mode 100644 index 0000000000..49dceb0516 --- /dev/null +++ b/installer/data/mysql/atomicupdate/Bug_14902_Add_IntranetCatalogSearchPulldown_pref.sql @@ -0,0 +1 @@ +INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('IntranetCatalogSearchPulldown','0',NULL,'Show a search field pulldown for \"Search the catalog\" boxes. ','YesNo'); diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 2fb5f03823..29ef9c87b0 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -184,6 +184,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('IncludeSeeFromInSearches','0','','Include see-from references in searches.','YesNo'), ('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'), ('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'), +('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'), ('OnSiteCheckouts','0','','Enable/Disable the on-site checkouts feature','YesNo'), ('OnSiteCheckoutsForce','0','','Enable/Disable the on-site for all cases (Even if a user is debarred, etc.)','YesNo'), ('InProcessingToShelvingCart','0','','If set, when any item with a location code of PROC is \'checked in\', it\'s location code will be changed to CART.','YesNo'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc index be36c7e597..c2babc2002 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc @@ -1,3 +1,4 @@ +[% USE Koha %]

[% LibraryName %]

@@ -28,6 +29,7 @@