Closed
Bug 179184
Opened 22 years ago
Closed 22 years ago
regetlastlist returns all bugs
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: bbaetz, Assigned: bbaetz)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.60 KB,
patch
|
Details | Diff | Splinter Review |
regetlastlist changes $::buffer, but then the params object is created from $cgi. Quick fix - change my $params = new Bugzilla::CGI($cgi); to use $::buffer instead Better fix is to rearrange code a bit; pathc coming
Assignee | ||
Comment 1•22 years ago
|
||
This is a better fix, in that its ever so slightly more efficent. Rather than joining the bug_ids again, and then parsing them, create a CGI object with a prefilled hash. Also moves $params creation down to when we know it won't be replaced.
Comment 2•22 years ago
|
||
Comment on attachment 105670 [details] [diff] [review] better fix >-# The params object to use for the actual query itsself >+# Now we're going to be running, so ensure that the params object is set up Please use full stops in comments :-) And also, explain why the new CGI object is created with ||=. Other than that, r=gerv. Gerv
Attachment #105670 -
Flags: review+
Assignee | ||
Comment 3•22 years ago
|
||
# Now we're going to be running, so ensure that the params object is set up, # using ||= so that we only do so if someone hasn't overridden this # earlier, for example by setting up a named query search.
Keywords: regression
Assignee | ||
Updated•22 years ago
|
Target Milestone: --- → Bugzilla 2.18
Updated•22 years ago
|
Attachment #105670 -
Flags: review+
Comment 4•22 years ago
|
||
Comment on attachment 105670 [details] [diff] [review] better fix This is just me doing some tests, guys - and I've found a bug, bug 179236. Gerv
Attachment #105670 -
Flags: review+
Comment 5•22 years ago
|
||
a=justdave
Assignee | ||
Comment 6•22 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•