[Koha-bugs] [Bug 23122] When searching callnumber in simple search, search option is not retained
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 14 20:05:22 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23122
Maryse Simard <maryse.simard at inlibro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #90603|0 |1
is obsolete| |
--- Comment #2 from Maryse Simard <maryse.simard at inlibro.com> ---
Created attachment 90615
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90615&action=edit
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 at inlibro.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list