bugzilla-newer r700 - in trunk: . Bugzilla



Author: ovitters
Date: Mon Feb 18 15:26:28 2008
New Revision: 700
URL: http://svn.gnome.org/viewvc/bugzilla-newer?rev=700&view=rev

Log:
2008-02-18  Olav Vitters  <olav bkor dhs org>

* Bugzilla/QueryParse.yp: Allow searches from 3 characters.


Modified:
   trunk/Bugzilla/QueryParse.yp
   trunk/ChangeLog

Modified: trunk/Bugzilla/QueryParse.yp
==============================================================================
--- trunk/Bugzilla/QueryParse.yp	(original)
+++ trunk/Bugzilla/QueryParse.yp	Mon Feb 18 15:26:28 2008
@@ -830,10 +830,10 @@
   # user only searched on three letter terms, as then MySQL returns
   # nothing).  See #350921.
   my $min = min map(length($_), @{$querydata->{valuelist}});
-  if ($min <= 3) {
+  if ($min < 3) {
     return error_message($parser, 
                          "Unfortunately, bugzilla can not do searches with " .
-                         "words less than four letters long.  We blame MySQL." .
+                         "words less than three letters long. " .
                          "  Please rephrase your search and try again.");
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]