fixed: WebGUI Search errors - boolean search using filtering does not work

This commit is contained in:
Yung Han Khoe 2008-08-07 15:20:30 +00:00
parent 6f1067ff9c
commit ab1c20fa8f
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@
- fixed: Shop/Transaction was not updating shopCreditDeduction column. Added that to the update and now users correctly have purchases deducted from their instore credit.
- fixed: Hover Help outdated: automatically request commit
- fixed: Thingy: Subtext disappears when editing a field
- fixed: WebGUI Search errors - boolean search using filtering does not work
7.5.18
- fixed: Collateral Image Manager broken in Firefox 3

View file

@ -369,7 +369,7 @@ sub search {
for (my $i = 0; $i < scalar(@terms); $i++) {
#-------------- Edited by zxp for Chinese Word Segment
utf8::decode($terms[$i]);
my @segs = split /([A-z|\d]+|\S)/, $terms[$i];
my @segs = split /([A-z,+-|\d]+|\S)/, $terms[$i];
$terms[$i] = join " ",@segs;
$terms[$i] =~ s/\s{2,}/ /g;
$terms[$i] =~ s/(^\s|\s$)//g;