summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-02-10 04:57:13 +0100
committerReed Loden <reed@reedloden.com>2010-02-10 04:57:13 +0100
commit8f239b454b12bbef4d3ef6172e03e3006ae2679d (patch)
tree1c597c07a13aae1395c02559ef3d2b04a5a78b2c
parentca5d050384e186efd138c8d3437ffc41dde4e73d (diff)
downloadbugzilla-8f239b454b12bbef4d3ef6172e03e3006ae2679d.tar.gz
bugzilla-8f239b454b12bbef4d3ef6172e03e3006ae2679d.tar.xz
Bug 527641 - "QuickSearch should include aliases in default search chart" [r=mkanat a=mkanat]
-rw-r--r--Bugzilla/Search/Quicksearch.pm1
-rw-r--r--template/en/default/pages/quicksearch.html.tmpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm
index e3dcc7e89..2f9e0734f 100644
--- a/Bugzilla/Search/Quicksearch.pm
+++ b/Bugzilla/Search/Quicksearch.pm
@@ -485,6 +485,7 @@ sub _default_quicksearch_word {
addChart('keywords', 'substring', $word, $negate);
}
+ addChart('alias', 'substring', $word, $negate);
addChart('short_desc', 'substring', $word, $negate);
addChart('status_whiteboard', 'substring', $word, $negate);
addChart('content', 'matches', $word, $negate);
diff --git a/template/en/default/pages/quicksearch.html.tmpl b/template/en/default/pages/quicksearch.html.tmpl
index fcaf20dc5..515502329 100644
--- a/template/en/default/pages/quicksearch.html.tmpl
+++ b/template/en/default/pages/quicksearch.html.tmpl
@@ -46,6 +46,7 @@
[%+ field_descs.product FILTER html %],
[%+ field_descs.component FILTER html %],
[%+ IF use_keywords %][%+ field_descs.keywords FILTER html %],[% END %]
+ [%+ IF Param('usebugaliases') %][% field_descs.alias FILTER html %],[% END %]
[%+ field_descs.short_desc FILTER html %],
[%+ IF Param('usestatuswhiteboard') %][% field_descs.status_whiteboard FILTER html %],[% END %]
and [% field_descs.longdesc FILTER html %] fields for your word or words.</li>