diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-03-02 00:43:43 -0800 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-03-02 00:43:43 -0800 |
commit | b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8 (patch) | |
tree | 4b3198d06883cce87cbc07a1ab9eae489aee92c1 /Bugzilla/Config | |
parent | e81b9d51399792035e10c2cd6d1b32f75879c3ec (diff) | |
download | bugs-b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8.tar bugs-b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8.tar.gz bugs-b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8.tar.bz2 bugs-b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8.tar.xz bugs-b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8.zip |
Bug 632718: Only return 500 search results unless the user specifically
requests to see more.
r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/Query.pm | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -74,6 +74,13 @@ sub get_param_list { }, { + name => 'default_search_limit', + type => 't', + default => '500', + checker => \&check_numeric + }, + + { name => 'max_search_results', type => 't', default => '10000', |