Fix for Bug 2599 - Search limits not working for NoZebra
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 Signed-off-by: Galen Charlton <galen.charlton@liblime.com> Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
parent
41dc980369
commit
4242d03b87
|
|
@ -1722,6 +1722,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' ) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue