Closed Bug 650173 Opened 15 years ago Closed 15 years ago

Bugzilla 4 priority names can't be distinguished in search results

Categories

(Bugzilla :: Query/Bug List, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: yavor.nikolov7+bugzilla, Assigned: mkanat)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: 4.0 Bugzilla 4.0 has introduced new priority names (Highest, High, Normal, Low, Lowest instead of the previous P1,...,P5). The problem is that in search results Priority column is abbreviated up to 3-rd character Hig - not clear if it's Highest or High Low - not clear if it's Lowest or Low Reproducible: Always Steps to Reproduce: 1.Setup Bugzilla 4.0 from scratch or if upgrading from old release - rename priority names to Lowest ... Highest (instead of Px) 2.Run a search (make sure Priority column is included) Actual Results: Priority column is abbreviated up to 3-rd character Hig - not clear if it's Highest or High Low - not clear if it's Lowest or Low Expected Results: Priority column content to uniquely identify to given priority. E.g.: * Highe or Highest - for Highest * Lowes or Lowest - for Lowest Workaround: In template/en/default/list/table.html.tmpl, there's a line : "priority" => { maxlength => 3 , title => "Pri" } , Change the "3" to whatever you want it to be and you're done. Changed to 8 - works fine (full names). Using 5 would be enough but is a bit "ugly".
(In reply to comment #0) > Change the "3" to whatever you want it to be and you're done. > Changed to 8 - works fine (full names). Using 5 would be enough but is a bit > "ugly". The problem is that the required min length depends on the language, but also on the customized list of priorities. Hovering the column displays the full name, though.
Version: unspecified → 4.0
Flags: blocking4.0.1+
Target Milestone: --- → Bugzilla 4.0
I think for our default language we should at least be sensible, though.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch v1Splinter Review
Assignee: query-and-buglist → mkanat
Status: NEW → ASSIGNED
Attachment #526529 - Flags: review?
Attachment #526529 - Flags: review? → review?(wicked)
Attachment #526529 - Flags: review?(wicked) → review+
Flags: approval4.0+
Flags: approval+
This affects 3.6 branch too but not 3.4 branch. This is low risk but we probably can't still fix this there too. Asking approval3.6 so a clear decision can be stored for reference.
Flags: approval3.6?
Yeah, I don't want to mess with templates on the sec branches unless it's a sec issue.
Flags: approval3.6? → approval3.6-
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified template/en/default/list/table.html.tmpl Committed revision 7785. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/4.0/ modified template/en/default/list/table.html.tmpl Committed revision 7575.
Status: ASSIGNED → RESOLVED
Closed: 15 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: