]> git.koha-community.org Git - koha.git/commit
Bug 12151: Remove uses of smartmatch operator in Search.pm and opac-search.pl
authorTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 30 May 2014 23:54:10 +0000 (20:54 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 7 Jul 2014 13:16:36 +0000 (10:16 -0300)
commit091a74de4c0fb6b0ff948eb716808dfc009a1207
tree8f0e41b88a367052d68d218e21a10670af49a8fb
parente0bba7040f058135e7008410fd99653c059e96fe
Bug 12151: Remove uses of smartmatch operator in Search.pm and opac-search.pl

This patch removes the use of smartmatch operators in the search code.

Regards
To+

Edit: this revision uses 'grep' instead of Lists::MoreUtils::any

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Tested search, no problems found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Search.pm
opac/opac-search.pl