X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FSearch.pm;h=809bc87ea4108ab81339b69ce69b89668e96e6d6;hb=3287252c0f71a10091995beff4eeb18257bbbc04;hp=353c5abded16780861822a70a54fc63cadc1692a;hpb=12d57ea22af134ff31eb9b632ed680c48670f360;p=koha.git diff --git a/C4/Search.pm b/C4/Search.pm index 353c5abded..809bc87ea4 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1125,11 +1125,13 @@ sub buildQuery { } if ($auto_truncation){ - #FIXME only valid with LTR scripts - $operand=join(" ",map{ - "$_*" - }split (/\s+/,$operand)); - warn $operand if $DEBUG; + unless ( $index =~ /(st-|phr|ext)/ ) { + #FIXME only valid with LTR scripts + $operand=join(" ",map{ + "$_*" + }split (/\s+/,$operand)); + warn $operand if $DEBUG; + } } # Detect Truncation @@ -1397,6 +1399,7 @@ sub searchResults { # loop through all of the records we've retrieved for ( my $i = $offset ; $i <= $times - 1 ; $i++ ) { my $marcrecord = MARC::File::USMARC::decode( $marcresults[$i] ); + my $biblionumber; if(not $scan){ if ($bibliotag<10){