diff options
author | justdave%syndicomm.com <> | 2001-06-02 11:02:13 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-06-02 11:02:13 +0000 |
commit | b0aff47d71d587a512673fe78c910024fc675f9d (patch) | |
tree | acd168f006aec0c994e14ffa495171b7cdc94b9b /query.cgi | |
parent | Fix for bug 78407: extra safeguard against overpopping the email list when pr... (diff) | |
download | bugzilla-b0aff47d71d587a512673fe78c910024fc675f9d.tar.gz bugzilla-b0aff47d71d587a512673fe78c910024fc675f9d.tar.bz2 bugzilla-b0aff47d71d587a512673fe78c910024fc675f9d.zip |
Fix for bug 65190: add comparison type "all words as substrings" and "any words as substrings" to the text fields in query.cgi
Patch by Andreas Franke <afranke@ags.uni-sb.de>
r= justdave@syndicomm.com
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -703,10 +703,12 @@ sub StringSearch { <td><SELECT NAME=$type> }; if ($default{$type} eq "") { - $default{$type} = "substring"; + $default{$type} = "allwordssubstr"; } foreach my $i (["substring", "case-insensitive substring"], ["casesubstring", "case-sensitive substring"], + ["allwordssubstr", "all words as substrings"], + ["anywordssubstr", "any words as substrings"], ["allwords", "all words"], ["anywords", "any words"], ["regexp", "regular expression"], @@ -780,6 +782,8 @@ my @types = ( ["casesubstring", "contains (case-sensitive) substring"], ["substring", "contains (case-insensitive) substring"], ["notsubstring", "does not contain (case-insensitive) substring"], + ["allwordssubstr", "all words as (case-insensitive) substrings"], + ["anywordssubstr", "any words as (case-insensitive) substrings"], ["regexp", "contains regexp"], ["notregexp", "does not contain regexp"], ["lessthan", "less than"], |