diff options
-rw-r--r-- | extensions/BMO/Extension.pm | 4 | ||||
-rw-r--r-- | extensions/BMO/template/en/default/hook/global/field-descs-end.none.tmpl | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index 2681b9a41..84d04b0f8 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -1019,6 +1019,10 @@ sub buglist_columns { 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', + }; } sub query_database { diff --git a/extensions/BMO/template/en/default/hook/global/field-descs-end.none.tmpl b/extensions/BMO/template/en/default/hook/global/field-descs-end.none.tmpl index 2c8bb7494..8c543b35d 100644 --- a/extensions/BMO/template/en/default/hook/global/field-descs-end.none.tmpl +++ b/extensions/BMO/template/en/default/hook/global/field-descs-end.none.tmpl @@ -8,4 +8,5 @@ [% IF in_template_var %] [% vars.field_descs.cc_count = "CC Count" %] + [% vars.field_descs.dupe_count = "Duplicate Count" %] [% END %] |