summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-01-17 15:35:50 +0100
committerByron Jones <bjones@mozilla.com>2012-01-17 15:35:50 +0100
commit49b2e80891800a6e0badfbf1d27625d38baafa36 (patch)
tree215ce3f53623eb7d81e67e84d821f54cf37d012b /extensions
parent090f76d8d8019c86e33d440e71a9b01482a882cb (diff)
downloadbugzilla-49b2e80891800a6e0badfbf1d27625d38baafa36.tar.gz
bugzilla-49b2e80891800a6e0badfbf1d27625d38baafa36.tar.xz
Bug 718626: show component column on guided possible dupes list
Diffstat (limited to 'extensions')
-rw-r--r--extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl1
-rw-r--r--extensions/GuidedBugEntry/web/js/guided.js3
2 files changed, 3 insertions, 1 deletions
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" ]
}
};