[Koha-patches] [PATCH 05/17] Revert "C4/Search.pm followup auto_truncation 3.0.x cherry-pick"
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Fri Feb 5 14:01:46 CET 2010
This reverts commit 58406a5e4bb50e18c9620e91b90295d8219842b8.
Conflicts:
C4/Search.pm
---
C4/Search.pm | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/C4/Search.pm b/C4/Search.pm
index 540d76c..05fcf39 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1139,13 +1139,7 @@ sub buildQuery {
}
if ($auto_truncation){
- unless ( $index =~ /(st-|phr|ext)/ ) {
- #FIXME only valid with LTR scripts
- $operand=join(" ",map{
- (index($_,"*")>0?"$_":"$_*")
- }split (/\s+/,$operand));
- warn $operand if $DEBUG;
- }
+ $operand=~join(" ",map{ "$_*" }split (/\s+/,$operand));
}
# Detect Truncation
--
1.6.3.3
More information about the Koha-patches
mailing list