]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 527641 - "QuickSearch should include aliases in default search chart" [r=mkanat...
authorReed Loden <reed@reedloden.com>
Wed, 10 Feb 2010 03:57:13 +0000 (21:57 -0600)
committerReed Loden <reed@reedloden.com>
Wed, 10 Feb 2010 03:57:13 +0000 (21:57 -0600)
Bugzilla/Search/Quicksearch.pm
template/en/default/pages/quicksearch.html.tmpl

index e3dcc7e89842699eb493f2d2eaca366e01cd23df..2f9e0734fd2db3d726a32d01605dc8c496888bdc 100644 (file)
@@ -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);
index fcaf20dc5995455acdb7c4c7eb095ceee3523353..515502329a2d6d5a86a005781ba99fa42934c473 100644 (file)
@@ -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>