From 49b2e80891800a6e0badfbf1d27625d38baafa36 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 17 Jan 2012 22:35:50 +0800 Subject: Bug 718626: show component column on guided possible dupes list --- extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl | 1 + extensions/GuidedBugEntry/web/js/guided.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'extensions') diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl index 4cb28235e..053bcdd99 100644 --- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -81,6 +81,7 @@ dupes.setLabels( { id: "[% field_descs.bug_id FILTER js %]", summary: "[% field_descs.short_desc FILTER js %]", + component: "[% field_descs.component FILTER js %]", status: "[% field_descs.bug_status FILTER js %]", } ); diff --git a/extensions/GuidedBugEntry/web/js/guided.js b/extensions/GuidedBugEntry/web/js/guided.js index a8328da17..f9506f09c 100644 --- a/extensions/GuidedBugEntry/web/js/guided.js +++ b/extensions/GuidedBugEntry/web/js/guided.js @@ -273,6 +273,7 @@ var dupes = { this._dataTableColumns = [ { key: "id", label: labels.id, formatter: this._formatId }, { key: "summary", label: labels.summary, formatter: "text" }, + { key: "component", label: labels.component, formatter: "text" }, { key: "status", label: labels.status, formatter: this._formatStatus }, { key: "update_token", label: '', formatter: this._formatCc } ]; @@ -514,7 +515,7 @@ var dupes = { summary: dupes.getSummary(), limit: 12, include_fields: [ "id", "summary", "status", "resolution", - "update_token", "cc" ] + "update_token", "cc", "component" ] } }; -- cgit v1.2.3-24-g4f1b