summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-22 03:16:40 +0200
committerlpsolit%gmail.com <>2005-08-22 03:16:40 +0200
commitf4966aeb0e7a655c986aeb285c1a220274ddbfd9 (patch)
tree70fc81865b58b54e97da10c8cc824ae9fb641672 /defparams.pl
parentd055246d2010e546bbad8c65d99496d53eee0bff (diff)
downloadbugzilla-f4966aeb0e7a655c986aeb285c1a220274ddbfd9.tar.gz
bugzilla-f4966aeb0e7a655c986aeb285c1a220274ddbfd9.tar.xz
Bug 70907: QuickSearch: port the JS code to perl (make it server-side) - Patch by Marc Schumann <wurblzap@gmail.com> r=wicked a=myk
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/defparams.pl b/defparams.pl
index 598d0711f..ffb9c68d9 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -1424,6 +1424,17 @@ Reason: %reason%
default => 1,
},
+ {
+ name => 'quicksearch_comment_cutoff',
+ desc => q{The maximum number of search terms for a QuickSearch to search
+ comments.
+ If the QuickSearch query contains more terms than this value,
+ QuickSearch will not search comments.},
+ type => 't',
+ default => '4',
+ checker => \&check_numeric
+ },
+
# Added for Patch Viewer stuff (attachment.cgi?action=diff)
{
name => 'cvsroot',