projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
followup : auto_truncation 3287252c0
[koha.git]
/
C4
/
Search.pm
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
f600685
..
a468821
100644
(file)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-1133,7
+1133,7
@@
sub buildQuery {
unless ( $index =~ /(st-|phr|ext)/ ) {
#FIXME only valid with LTR scripts
$operand=join(" ",map{
- "$_*"
+ (index($_,"*")>0?"$_":"$_*")
}split (/\s+/,$operand));
warn $operand if $DEBUG;
}