]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 385910: Rename the 'quicksearch_allow_empty_words' parameter to 'specific_search_...
authorlpsolit%gmail.com <>
Tue, 3 Jul 2007 21:24:08 +0000 (21:24 +0000)
committerlpsolit%gmail.com <>
Tue, 3 Jul 2007 21:24:08 +0000 (21:24 +0000)
Bugzilla/Config/Query.pm
buglist.cgi
template/en/default/admin/params/query.html.tmpl
template/en/default/search/search-specific.html.tmpl

index afd3308989eec0d53eae246bd88e61c8ee441c7a..74e26503790ecc104e912fb683df95c441a7989f 100644 (file)
@@ -75,7 +75,7 @@ sub get_param_list {
   },
   
   {
-   name => 'quicksearch_allow_empty_words',
+   name => 'specific_search_allow_empty_words',
    type => 'b',
    default => 0
   }
index 790997a06b21ef6f5653e7b24c41ff6af9e68200..c9a4104857dc87e88724a422db9b59d18461bf34 100755 (executable)
@@ -75,9 +75,9 @@ if (defined($searchstring)) {
 }
 
 # If configured to not allow empty words, reject empty searches from the
-# simple search form, including words being a single or several consecutive
-# whitespaces only.
-if (!Bugzilla->params->{'quicksearch_allow_empty_words'}
+# Find a Specific Bug search form, including words being a single or 
+# several consecutive whitespaces only.
+if (!Bugzilla->params->{'specific_search_allow_empty_words'}
     && defined($cgi->param('content')) && $cgi->param('content') =~ /^\s*$/)
 {
     ThrowUserError("buglist_parameters_required");
index b3f0b0f66bece61b32c9cd3158874da0375aae65..cdc48473ef476f4536a8fdca4bf34f5638dbe6bc 100644 (file)
@@ -56,5 +56,6 @@
                                 "to search comments. If the QuickSearch query contains " _
                                 "more terms than this value, QuickSearch will not search comments.",
 
-  quicksearch_allow_empty_words => "Whether to allow a QuickSearch with empty Words." }
+  specific_search_allow_empty_words => "Whether to allow a search on the 'Find a Specific " _
+                                       "Bug' page with an empty 'Words' field." }
 %]
index af633ddf7c9c43c312287c30385d8bf1db7bba01..5e3c938293fcae2faf9eae8a19d9e8cc5cc63ca6 100644 (file)
@@ -110,7 +110,7 @@ for "crash secure SSL flash".
     <td></td>
     <td>
     
-      [% IF Param('quicksearch_allow_empty_words') %]
+      [% IF Param('specific_search_allow_empty_words') %]
         <input type="submit" id="search" value="Search">
       [% ELSE %]
         <input type="submit" id="search" value="Search"