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)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: yavor.nikolov7+bugzilla, Assigned: mkanat)
Details
Attachments
(1 file)
|
648 bytes,
patch
|
wicked
:
review+
|
Details | Diff | Splinter Review |
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".
Comment 1•15 years ago
|
||
(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.
Updated•15 years ago
|
Version: unspecified → 4.0
| Assignee | ||
Updated•15 years ago
|
Flags: blocking4.0.1+
Target Milestone: --- → Bugzilla 4.0
| Assignee | ||
Comment 2•15 years ago
|
||
I think for our default language we should at least be sensible, though.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 3•15 years ago
|
||
| Assignee | ||
Updated•15 years ago
|
Attachment #526529 -
Flags: review? → review?(wicked)
Updated•15 years ago
|
Attachment #526529 -
Flags: review?(wicked) → review+
| Assignee | ||
Updated•15 years ago
|
Flags: approval4.0+
Flags: approval+
Comment 4•15 years ago
|
||
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?
| Assignee | ||
Comment 5•15 years ago
|
||
Yeah, I don't want to mess with templates on the sec branches unless it's a sec issue.
Flags: approval3.6? → approval3.6-
| Assignee | ||
Comment 6•15 years ago
|
||
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.
Description
•