Koha/koha-tmpl/opac-tmpl/bootstrap
Owen Leonard 313a92324a
Bug 23122: When searching callnumber in simple search, search option is not retained
This patch copies some code and markup from the staff client where call
number phrase searches are correctly handled. A check for
'ms_callnumcommaphr' is copied from search_indexes.inc. Handling of
commas and dashes is copied from search.pl.

To test, apply the patch and make sure the
OpacAddMastheadLibraryPulldown system preference is enabled.

 - From the OPAC main page, select "Call number" from the search pull
   down at the top of the page.
 - Perform any search (it need not return results).
 - Verify that the search option retains the "Call number" selection.
 - Repeat the test with and without the OPACNumbersPreferPhrase system
   preference enabled.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Nadine Pierre <nadine.pierre@inLibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-06-19 13:13:14 +01:00
..
css Bug 22950: Compiled CSS 2019-06-03 18:47:35 +01:00
en Bug 23122: When searching callnumber in simple search, search option is not retained 2019-06-19 13:13:14 +01:00
images Bug 22568: Replace RSS icon in the OPAC with Font Awesome 2019-03-23 09:40:29 +00:00
itemtypeimg
js Bug 21870: Convert browser alerts to modals: OPAC user summary 2019-02-26 14:36:17 +00:00
lib Bug 10659: Upgrade jQuery star ratings plugin 2019-02-15 18:42:46 +00:00