View | Details | Raw Unified | Return to bug 6406
Collapse All | Expand All

(-)a/C4/Search.pm (-2 / +5 lines)
Lines 1127-1133 sub buildQuery { Link Here
1127
1127
1128
            # COMBINE OPERANDS, INDEXES AND OPERATORS
1128
            # COMBINE OPERANDS, INDEXES AND OPERATORS
1129
            if ( $operands[$i] ) {
1129
            if ( $operands[$i] ) {
1130
		$operands[$i]=~s/^\s+//;
1130
                # remove starting blanks
1131
                $operands[$i] =~ s/^\s+//;
1132
                # remove multiple blanks that breaks the resulting query
1133
                $operands[$i] =~ s/\s+/ /g;
1134
                next unless $operands[$i];
1131
1135
1132
              # A flag to determine whether or not to add the index to the query
1136
              # A flag to determine whether or not to add the index to the query
1133
                my $indexes_set;
1137
                my $indexes_set;
1134
- 

Return to bug 6406