Adds the change suggested by Amer Denni to fix Bug 2599 in comment #7 at: http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2599
For UNIMARC installations, this patch only works after updating the "NoZebraIndexes" system preference to UNIMARC indexes (by default, NoZebraIndexes is being wrongly set to MARC21 values in UNIMARC installations). That has also been reported as a Bug, by me (see Bug 2178): Bug 2178 - "NoZebraIndexes" system preference is being set to MARC21 values in UNIMARC installations http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2178 --- C4/Search.pm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 13f504f..e0e71c2 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1691,6 +1691,7 @@ sub NZanalyse { $left = 'subject' if $left =~ '^su$'; $left = 'koha-Auth-Number' if $left =~ '^an$'; $left = 'keyword' if $left =~ '^kw$'; + $left = 'itemtype' if $left =~ '^mc$'; # Fix for Bug 2599 - Search limits not working for NoZebra warn "handling leaf... left:$left operator:$operator right:$right" if $DEBUG; if ( $operator && $left ne 'keyword' ) { -- 1.5.6.5 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
