https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315

            Bug ID: 86315
           Summary: Bugzilla: add "cc count" and "duplicate count" columns
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jason at gcc dot gnu.org
  Target Milestone: ---

Since we don't enable Bugzilla voting, the measures we have of impact on the
community are CC and duplicate counts.  These don't show up in search results
currently, but they do on the bugzilla.mozilla.org instance.

This Bugzilla BZ suggests that this isn't core functionality, but rather
provided with an extension:

https://bugzilla.mozilla.org/show_bug.cgi?id=62718

The BMO extension in question seems to be this one:

https://github.com/mozilla-bteam/bmo/blob/master/extensions/BMO

which contains:

sub buglist_columns {
    my ($self, $args) = @_;
    my $columns = $args->{columns};
    $columns->{'cc_count'} = {
        name => '(SELECT COUNT(*) FROM cc WHERE cc.bug_id = bugs.bug_id)',
        title => 'CC Count',
    };
    $columns->{'dupe_count'} = {
        name => '(SELECT COUNT(*) FROM duplicates WHERE duplicates.dupe_of =
bugs.bug_id)',
        title => 'Duplicate Count',
    };
}

Can we add this to GCC Bugzilla as well?

Reply via email to