[Koha-bugs] [Bug 15541] Prevent normalization during matching/import process

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 23 17:01:40 CEST 2016


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

--- Comment #29 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 50971
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50971
Bug 15541 - Prevent normalization during matching/import process

Review of attachment 50971:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15541&attachment=50971)
-----------------------------------------------------------------

::: C4/Matcher.pm
@@ +660,4 @@
>  
>              my $searcher = Koha::SearchEngine::Search->new({index => $Koha::SearchEngine::BIBLIOS_INDEX});
>              ( $error, $searchresults, $total_hits ) =
> +              $searcher->simple_search_compat( $query, 0, $max_matches, undef, "skip_normalize" );

3 parameters turned to 5 with one set to undef? Wouldn't making this parameter
a hashref mean cleaner code and easier adding/removing parameters in the
future?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list