https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23122

Arthur Bousquet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #90624|0                           |1
        is obsolete|                            |

--- Comment #4 from Arthur Bousquet <[email protected]> ---
Created attachment 90626
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90626&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 <[email protected]>
Signed-off-by: Nadine Pierre <[email protected]>
Signed-off-by: Arthur Bousquet <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to