@@ -, +, @@ 1 - Define a rule: Matching rule code: LCAUTH Match threshold: 100 Record type: Authority record MATCH POINTS Search index: LC-card-number Score: 100 Tag: 010 Subfield: a 2 - Have a record with an LC number in 010 3 - Export it 4 - Edit the record in Koha, move the value from 010 to another field 5 - Import the original record 6 - Use the matching rule above, you expect it won't match (nothing in 010 anymore) 7 - It matches?!?!?! 8 - Enable zebra logging in koha-conf.xml none,fatal,warn,request,info 9 - tail -f /var/log/koha/kohadev/zebra-output.log --- C4/AuthoritiesMarc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/AuthoritiesMarc.pm +++ a/C4/AuthoritiesMarc.pm @@ -164,7 +164,7 @@ sub SearchAuthorities { $attr = " \@attr 1=Subject-heading-thesaurus "; } else { # Assume any if no index was specified - $attr = " \@attr 1=Any "; + $attr = " \@attr 1=" . @$tags[$i] . " "; } } #if @$tags[$i] else { # Assume any if no index was specified --