http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8620

--- Comment #3 from Jorge de Cardenas <jd...@smfpl.org> ---
This is not a good fix but I replaced:

if(not $index){
       $index = 'kw';
}

in Search.pm (around line 1182) with:

if(not $index){
    if($operand =~ m/[0-9]{14}/){
            $index = 'bc';
    }else{
         $index = 'kw';
    }
}

Our barcodes are 14 digits long, it tests for 14 digits and sets the index to
'bc' instead of 'kw' when no index was submitted. There is probably a way to
fix this through the zebra configuration files but I don't understand them well
enough to try it.

Jorge

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to