View | Details | Raw Unified | Return to bug 26247
Collapse All | Expand All

(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 636-641 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
636
('StaffRetainSearchTerms', '1', NULL, 'If enabled, searches entered into the search bar will be retained', 'YesNo'),
636
('StaffRetainSearchTerms', '1', NULL, 'If enabled, searches entered into the search bar will be retained', 'YesNo'),
637
('StaffSearchResultsDisplayBranch','holdingbranch','holdingbranch|homebranch','Controls the display of the home or holding branch for staff search results','Choice'),
637
('StaffSearchResultsDisplayBranch','holdingbranch','holdingbranch|homebranch','Controls the display of the home or holding branch for staff search results','Choice'),
638
('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the staff interface','Integer'),
638
('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the staff interface','Integer'),
639
('StaffStickySearchTerms', '1', NULL, 'If enabled, searches entered into the search bar will be copied to other header tabs', 'YesNo'),
639
('StaticHoldsQueueWeight','0',NULL,'Specify a list of library location codes separated by commas -- the list of codes will be traversed and weighted with first values given higher weight for holds fulfillment -- alternatively, if RandomizeHoldsQueueWeight is set, the list will be randomly selective','Integer'),
640
('StaticHoldsQueueWeight','0',NULL,'Specify a list of library location codes separated by commas -- the list of codes will be traversed and weighted with first values given higher weight for holds fulfillment -- alternatively, if RandomizeHoldsQueueWeight is set, the list will be randomly selective','Integer'),
640
('StatisticsFields','location|itype|ccode', NULL, 'Define Fields (from the items table) used for statistics members','Free'),
641
('StatisticsFields','location|itype|ccode', NULL, 'Define Fields (from the items table) used for statistics members','Free'),
641
('StockRotation','0',NULL,'If ON, enables the stock rotation module','YesNo'),
642
('StockRotation','0',NULL,'If ON, enables the stock rotation module','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-search-box.inc (+4 lines)
Lines 7-13 Link Here
7
            [% ELSE %]
7
            [% ELSE %]
8
                <label class="tip" for="search-form">Enter search keywords:</label>
8
                <label class="tip" for="search-form">Enter search keywords:</label>
9
            [% END %]
9
            [% END %]
10
            [% IF ( Koha.Preference('StaffStickySearchTerms') )  %]
11
                <input type="text" name="q" id="search-form" size="40" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="head-searchbox sticky form-text" />
12
            [% ELSE %]
10
                <input type="text" name="q" id="search-form" size="40" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
13
                <input type="text" name="q" id="search-form" size="40" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
14
            [% END %]
11
				<input type="submit" value="Submit" class="submit" />
15
				<input type="submit" value="Submit" class="submit" />
12
		</form>
16
		</form>
13
	</div>
17
	</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-1 / +7 lines)
Lines 268-273 Searching: Link Here
268
                  no: "don't retain"
268
                  no: "don't retain"
269
            - search terms between searches.
269
            - search terms between searches.
270
        -
270
        -
271
            - When searching from the header in the staff client
272
            - pref: StaffStickySearchTerms
273
              choices:
274
                  yes: "copy"
275
                  no: "don't copy"
276
            - search terms between search tabs.
277
        -
271
            - pref: BiblioItemtypeInfo
278
            - pref: BiblioItemtypeInfo
272
              choices:
279
              choices:
273
                  1: "Display"
280
                  1: "Display"
274
- 

Return to bug 26247