Bugzilla – Attachment 52763 Details for
Bug 14902
Add qualifier menu to staff side "Search the Catalog"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 14902 - Add qualifier menu to staff side "Search the Catalog"
SIGNED-OFF-Bug-14902---Add-qualifier-menu-to-staff.patch (text/plain), 22.91 KB, created by
Barton Chittenden
on 2016-06-23 19:51:31 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 14902 - Add qualifier menu to staff side "Search the Catalog"
Filename:
MIME Type:
Creator:
Barton Chittenden
Created:
2016-06-23 19:51:31 UTC
Size:
22.91 KB
patch
obsolete
>From 46022017f799871521f2c59593fa1852b74c5bc9 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 3 Jun 2016 12:52:01 -0400 >Subject: [PATCH] [SIGNED-OFF] 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 <hbraum@nekls.org> > >Signed-off-by: Barton Chittenden <barton@bywatersolutions.com> >--- > .../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 ++ > koha-tmpl/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 ++ > koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc | 2 ++ > .../intranet-tmpl/prog/en/includes/contracts-admin-search.inc | 2 ++ > .../intranet-tmpl/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 ++ > koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc | 2 ++ > .../intranet-tmpl/prog/en/includes/printers-admin-search.inc | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc | 2 ++ > .../intranet-tmpl/prog/en/includes/suggestions-add-search.inc | 2 ++ > koha-tmpl/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 0000000..49dceb0 >--- /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 2b95c99..f1c474c 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -183,6 +183,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 9bf4e70..15b51da 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 %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Fund Admin Resident Search Box --> > >@@ -28,6 +29,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="query form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc >index 1e06e69..8f67f75 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Catalogue Resident Search Box --> > <div id="header_search"> >@@ -25,6 +26,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" class="submit" value="Submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc >index 872c86e..5d06df1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc >@@ -1,4 +1,4 @@ >- >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cataloging Resident Search Box --> > <div id="header_search"> >@@ -33,6 +33,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" class="submit" value="Submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc >index fdc1d2e..ccd181d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Checkin Resident Search Box --> > <div id="header_search"> >@@ -6,6 +7,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input class="head-searchbox" type="text" name="q" id="search-form" size="40" /> > <input type="submit" class="submit" value="Submit"/> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc >index 92a0685..871d4d1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Circulation Resident Search Box --> > >@@ -23,6 +24,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input class="head-searchbox" type="text" name="q" id="search-form" size="40" accesskey="q" /> > <input type="submit" class="submit" value="Submit"/> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc >index 3b11479..ff6f333 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cities Resident Search Box --> > <div id="header_search"> >@@ -15,6 +16,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc >index c173cc4..4e0e276 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box --> > >@@ -16,6 +17,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc >index 759a0e2..28a9548 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Currencies Resident Search Box --> > <div id="header_search"> >@@ -13,6 +14,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >index 8c9a3b7..112669a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Main page Resident Search Box --> > >@@ -33,6 +34,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" class="head-searchbox" size="40" accesskey="q" /> > <input type="submit" class="submit" value="Submit"/> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc >index dbcb0f4..995e5a5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Notices Resident Search Box --> > <div id="header_search"> >@@ -13,6 +14,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" name="op" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index e12ccd0..2acee49 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -140,8 +140,9 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> >- <input type="submit" name="op" id="opac-submit" value="Submit" class="submit" /> >+ <input type="submit" name="op" id="opac-submit" value="Submit" class="submit" /> > </form> > </div>[% END %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc >index 88215b4..f959a1a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box --> > <div id="header_search"> >@@ -13,6 +14,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >index f8c70ac..85954df 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1> > <div id="header_search"> >@@ -15,6 +16,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc >index 7d75a71..56477c1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Printers Resident Search Box --> > <div id="header_search"> >@@ -13,6 +14,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc >index a22ff0f..03ecdb8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Serials Resident Search Box --> > <div id="header_search"> >@@ -22,6 +23,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc >index 802853a..5c81ec9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Suggestions Resident Search Box --> > <div id="header_search"> >@@ -18,6 +19,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc >index d78b358..229bd98 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc >@@ -1,3 +1,4 @@ >+[% USE Koha %] > <div class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin z3950 Admin Resident Search Box --> > <div id="header_search"> >@@ -15,6 +16,7 @@ > <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> >+ [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %] > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" /> > <input type="submit" value="Submit" class="submit" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >index 7c0c590..83707a1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >@@ -144,3 +144,9 @@ Staff Client: > yes: "Enable" > no: "Don't enable" > - audio alerts for events defined in the audio alerts section of administration. >+ - >+ - pref: IntranetCatalogSearchPulldown >+ choices: >+ yes: Show >+ no: "Don't show" >+ - a search field pulldown for 'Search the catalog' boxes. >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14902
:
52021
|
52654
|
52655
|
52745
|
52763
|
52866
|
52874