]> git.koha-community.org Git - koha.git/commit
Bug 12330: [QA Follow-up] Consistency between opac-search and staff client
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 9 Jul 2014 13:56:54 +0000 (15:56 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 5 Sep 2014 15:06:04 +0000 (12:06 -0300)
commit36d1b3e29d89c2af04c50d4f9ae91cb18c391f97
treef505b65ca5950898676ec16207e4a9629c29ab81
parentf5320c4bf873c8fe328d0fdc819fa11f05f346ef
Bug 12330: [QA Follow-up] Consistency between opac-search and staff client

In opac-search two regexes are added for the results of splitting the
pref AdvancedSearchTypes, allowing spaces before and after the names.
The same regexes should be added to catalogue/search.pl to have the
same behavior there.

Test plan:
Set AdvancedSearchTypes to "itemtypes  |  ccode |  loc " (no quotes).
Check OPAC and staff with and without this patch.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
catalogue/search.pl