From b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 2 Mar 2011 00:43:43 -0800 Subject: Bug 632718: Only return 500 search results unless the user specifically requests to see more. r=dkl, a=mkanat --- Bugzilla/Config/Query.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Bugzilla/Config/Query.pm') diff --git a/Bugzilla/Config/Query.pm b/Bugzilla/Config/Query.pm index 3513b12e3..17a74998e 100644 --- a/Bugzilla/Config/Query.pm +++ b/Bugzilla/Config/Query.pm @@ -73,6 +73,13 @@ sub get_param_list { default => 1 }, + { + name => 'default_search_limit', + type => 't', + default => '500', + checker => \&check_numeric + }, + { name => 'max_search_results', type => 't', -- cgit v1.2.3-24-g4f1b