Closed Bug 490562 Opened 16 years ago Closed 16 years ago

QuickSearch "+" operator adds $qsword over and over for @subWords

Categories

(Bugzilla :: Query/Bug List, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

(Keywords: regression)

Attachments

(1 file)

From QuickSearch.pm: if ($firstChar eq '+') { foreach (@subWords) { addChart('short_desc', 'substring', $qsword, $negate); } return 1; } That doesn't look right--why add $qsword over and over?
Attached patch v1Splinter Review
This looks like the fix to me.
Assignee: query-and-buglist → mkanat
Status: NEW → ASSIGNED
Attachment #374965 - Flags: review?(LpSolit)
Regression due to bug 70907, i.e. since 2.22. The code in the original JS file seems correct.
Depends on: 70907
Keywords: regression
Comment on attachment 374965 [details] [diff] [review] v1 Looks good and works as expected. r=LpSolit
Attachment #374965 - Flags: review?(LpSolit) → review+
Flags: approval3.4+
Flags: approval3.2+
Flags: approval+
tip: Checking in Bugzilla/Search/Quicksearch.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search/Quicksearch.pm,v <-- Quicksearch.pm new revision: 1.23; previous revision: 1.22 done 3.4: Checking in Bugzilla/Search/Quicksearch.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search/Quicksearch.pm,v <-- Quicksearch.pm new revision: 1.22.2.1; previous revision: 1.22 done 3.2: Checking in Bugzilla/Search/Quicksearch.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search/Quicksearch.pm,v <-- Quicksearch.pm new revision: 1.20.2.3; previous revision: 1.20.2.2 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: