cleaned up processing of metadata from diverse origins (doc,extattrs,localfields)
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ $headAndBody = 1;
|
||||
sub xapianTag {
|
||||
my $imgtag = shift;
|
||||
while ( ( $tagre, $xapiantag) = each %{$tagMap} ) {
|
||||
return $xapiantag if $imgtag =~ /$tagre/i;
|
||||
return $xapiantag if $imgtag =~ /^$tagre$/i;
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user