Closed
Bug 204560
Opened 22 years ago
Closed 21 years ago
Add alias to long format bug list if enabled
Categories
(Bugzilla :: Query/Bug List, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: bugreport, Assigned: endico)
Details
Attachments
(1 file, 3 obsolete files)
1.69 KB,
patch
|
Details | Diff | Splinter Review |
When printing long format listings of bug lists, the alias should be included.
This patch puts the alias, if it exists, in square brackets after the bug id
Attachment #124394 -
Flags: review?
Comment 2•21 years ago
|
||
Comment on attachment 124394 [details] [diff] [review]
add bug alias to the long listing
zach: are we bumping template versions yet?
A nit on the IFNULL... why not just use '' instead of having to backslash the
double-quotes? From what I've seen MySQL tends to prefer single-quotes anyway.
Attachment #124394 -
Flags: review?(zach)
Attachment #124394 -
Flags: review?(myk)
Attachment #124394 -
Flags: review?
I was meaning to clarify about the template version updating in the newsgroup.
I was just going on the Bugzilla Developers Guide regarding templates, which says:
> Every template shipped with Bugzilla has a version number on the first line
such as
> 1.0@bugzilla.org. You should update this when you edit a template.
> You need to increment the major part if your updates make the interface to
this template
> incompatible with the interface of previous versions. Otherwise, you need to
increment the
> minor part.
Comment 5•21 years ago
|
||
Comment on attachment 127972 [details] [diff] [review]
Add alias to long format bug list patch 2
>Index: template/en/default/bug/show-multiple.html.tmpl
>+ [% IF Param("usebugaliases") %]
>+ [% IF bug.alias != "" %]
Nits:
* second conditional should be indented additional two spaces;
* second conditional can be simply [% IF bug.alias %];
* conditionals can be combined [% IF Param("...") AND bug.alias %].
>+ [ [% bug.alias FILTER html %] ]
Nits:
* curly braces (());
* no space between the braces and the alias.
All problems are nits, so r=myk, but consider the nits before opting to check
in current patch.
Attachment #127972 -
Flags: review+
Comment 6•21 years ago
|
||
Comment on attachment 124394 [details] [diff] [review]
add bug alias to the long listing
Removing unneeded review requests.
Attachment #124394 -
Flags: review?(zach)
Attachment #124394 -
Flags: review?(myk)
Patch 3, fixing Myk's nits. I can't commit, so if the review is carried over to
this patch, could someone commit this please?
Attachment #124394 -
Attachment is obsolete: true
Attachment #127972 -
Attachment is obsolete: true
Attachment #129189 -
Flags: review?(myk)
Comment 8•21 years ago
|
||
Comment on attachment 129189 [details] [diff] [review]
add alias to long listing patch 3
This patch fails to apply; I had to apply by hand. Did you hand-edit this
patch by any chance? In any case, the code itself works fine. r=myk
Attachment #129189 -
Flags: review?(myk) → review+
Comment 9•21 years ago
|
||
This patch is like patch #3 except that it applies correctly.
Attachment #129189 -
Attachment is obsolete: true
Comment 10•21 years ago
|
||
Checking in long_list.cgi;
/cvsroot/mozilla/webtools/bugzilla/long_list.cgi,v <-- long_list.cgi
new revision: 1.36; previous revision: 1.35
done
Checking in template/en/default/bug/show-multiple.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/show-multiple.html.tmpl,v
<-- show-multiple.html.tmpl
new revision: 1.12; previous revision: 1.11
done
Flags: approval+
Comment 11•21 years ago
|
||
Oops, forgot to mark fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 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
•