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)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.2
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
741 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
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?
| Assignee | ||
Comment 1•16 years ago
|
||
This looks like the fix to me.
Assignee: query-and-buglist → mkanat
Status: NEW → ASSIGNED
Attachment #374965 -
Flags: review?(LpSolit)
Comment 2•16 years ago
|
||
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 3•16 years ago
|
||
Comment on attachment 374965 [details] [diff] [review]
v1
Looks good and works as expected. r=LpSolit
Attachment #374965 -
Flags: review?(LpSolit) → review+
Updated•16 years ago
|
Flags: approval3.4+
Flags: approval3.2+
Flags: approval+
| Assignee | ||
Comment 4•16 years ago
|
||
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.
Description
•