Closed
Bug 175625
Opened 22 years ago
Closed 22 years ago
Timetracking columns are computed even if not displayed
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: bugreport, Assigned: jeff.hedlund)
Details
Attachments
(1 file)
648 bytes,
patch
|
dkl
:
review+
bugreport
:
review+
|
Details | Diff | Splinter Review |
When a user is capable of timetracking, the E/A/R columns are built into the buglist queries even for queries that are not trying to display that data. This is a major perfomance hit for some queries. These columns should only be computed if needed for the display or search criteria
Comment 1•22 years ago
|
||
The columns are removed only if not a member of the timetracking group. I agree that they should only be added if the time stuff is selected in colchange.cgi. Also there is a bug in the time code in buglist.cgi. # remaining and actual_time are required for precentage_complete calculation: if (lsearch(\@displaycolumns, "percentage_complete")) { push (@selectcolumns, "remaining_time"); push (@selectcolumns, "actual_time"); } should be # remaining and actual_time are required for precentage_complete calculation: if (lsearch(\@displaycolumns, "percentage_complete") >= 0) { push (@selectcolumns, "remaining_time"); push (@selectcolumns, "actual_time"); }
Assignee | ||
Comment 2•22 years ago
|
||
That should do it, it all stemmed from that bug. Thanks for the catch.
Updated•22 years ago
|
Attachment #103595 -
Flags: review+
Reporter | ||
Comment 3•22 years ago
|
||
Comment on attachment 103595 [details] [diff] [review] Patch v.1 2xr=joel
Attachment #103595 -
Flags: review+
Reporter | ||
Comment 4•22 years ago
|
||
Checked in for Jeff. Checking in buglist.cgi; /cvsroot/mozilla/webtools/bugzilla/buglist.cgi,v <-- buglist.cgi new revision: 1.203; previous revision: 1.202 done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•22 years ago
|
Target Milestone: --- → Bugzilla 2.18
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
•