GNOME Bugzilla – Bug 140371
Add original bug number to the "Resolved: DUPLICATE" thing on the top of dups
Last modified: 2005-02-26 21:25:54 UTC
Scanning long bugs is annoying ;-)
Sort of done. Actually, eww, terribly broken. Turns out I might not have that data in the template- I have to look more. reverting the change for now.
AAAAAAAAAAAAARRRRRRRRRRRRGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHH Bug 140577 looks nasty. Can we fix or revert?
Oh, fuck, I thought I did revert. will fix shortly.
ping-a-luis! ("Andrew is going through his bugmail")
Created attachment 35238 [details] [review] Add duplicate link & bug_link filter Patch does the following: 1. Modifies bug_form.pl to fetch the dup_id if a bug has the 'DUPLICATE' resolution. 2. Add a bug_link filter to globals.pl (can be used by any template). This filter creates a link with the title set to the description. This filter will be in Bugzilla 2.18.x and is already used in other parts (the filter uses the existing GetBugLink function). 3. Add bug_link stub filter to checksetup.pl. According to a comment in globals.pl this stub filter should also be added to t/004template.t. Strangely it already exists there. 4. Change template/en/default/bug/edit.html.tmpl to show the link if the bug has the 'DUPLICATE' resolution using the bug_link filter. Note that for some other bug I've also had to change globals.pl. It still applies although it'll whine about the line numbers. I've tested these changes locally.
Created attachment 37982 [details] [review] Patch v2, fixes problem if dupe_id isn't in duplicates table This patch has been in my local installation for a few months.
Committed, marking fixed.