Page MenuHomePhabricator

Show Priority column in duplicates.cgi listings
Closed, ResolvedPublic

Description

eg: https://bugzilla.wikimedia.org/duplicates.cgi?maxrows=50&openonly=1&changedsince=90

Boy would it be useful to sort that list by Priority as I bet some of those are Low priority even though they have a bunch of dupes. This will make it easier for people/us (WMF) to groom this list and work on the important ones.


Version: wmf-deployment
Severity: normal
Whiteboard: [bugzilla-5.0]
See Also:
https://bugzilla.mozilla.org/show_bug.cgi?id=933253

Details

Reference
bz56253

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:13 AM
bzimport set Reference to bz56253.
bzimport added a subscriber: Unknown Object (MLST).

Untested guess just from reading the code
(assuming we want to replace the "OS" column by "Priority"):

In template/en/default/reports/duplicates-table.html.tmpl :

  • { name => "op_sys", description => field_descs.op_sys },

+ { name => "priority", description => field_descs.priority },
[...]

  • <td class="op_sys">
  • [%- display_value('op_sys', bug.op_sys) FILTER html %]

+ <td class="priority">
+ [%- display_value('priority', bug.priority) FILTER html %]

Code change in comment 1 works as expected on boogs.wmflabs.org - I'll try to get this into upstream first though; added URL in "See Also" field.

Change 105938 had a related patch set uploaded by Aklapper:
duplicates.cgi: Add "Resolution" and "Priority" columns

https://gerrit.wikimedia.org/r/105938

Change 105938 merged by Dzahn:
duplicates.cgi: Add "Resolution" and "Priority" columns

https://gerrit.wikimedia.org/r/105938

Lovely. Thanks!

Before:
Bug # Dupe Count Change in last 90 day(s) Component Severity
OS Target Milestone Summary

Now:
Bug # Dupe Count Change in last 90 day(s) Component Resolution
Severity Priority Target Milestone Summary