1
# -*- Mode: perl; indent-tabs-mode: nil -*-
3
# The contents of this file are subject to the Mozilla Public
4
# License Version 1.1 (the "License"); you may not use this file
5
# except in compliance with the License. You may obtain a copy of
6
# the License at http://www.mozilla.org/MPL/
8
# Software distributed under the License is distributed on an "AS
9
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
10
# implied. See the License for the specific language governing
11
# rights and limitations under the License.
13
# The Original Code is the Bugzilla Bug Tracking System.
15
# The Initial Developer of the Original Code is Netscape Communications
16
# Corporation. Portions created by Netscape are
17
# Copyright (C) 1998 Netscape Communications Corporation. All
20
# Contributor(s): Terry Weissman <terry@mozilla.org>
21
# Dawn Endico <endico@mozilla.org>
22
# Dan Mosedale <dmose@mozilla.org>
23
# Joe Robins <jmrobins@tgix.com>
24
# Jacob Steenhagen <jake@bugzilla.org>
25
# J. Paul Reed <preed@sigkill.com>
26
# Bradley Baetz <bbaetz@student.usyd.edu.au>
27
# Joseph Heenan <joseph@heenan.me.uk>
28
# Erik Stambaugh <erik@dasbistro.com>
29
# Frédéric Buclin <LpSolit@gmail.com>
32
package Bugzilla::Config::Query;
36
use Bugzilla::Config::Common;
38
$Bugzilla::Config::Query::sortkey = "12";
44
name => 'quip_list_entry_control',
46
choices => ['open', 'moderated', 'closed'],
48
checker => \&check_multi
52
name => 'mostfreqthreshold',
55
checker => \&check_numeric
59
name => 'mybugstemplate',
61
default => 'buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailreporter1=1&emailtype1=exact&email1=%userid%&field0-0-0=bug_status&type0-0-0=notequals&value0-0-0=UNCONFIRMED&field0-0-1=reporter&type0-0-1=equals&value0-0-1=%userid%'
65
name => 'defaultquery',
67
default => 'bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailqa_contact2=1&order=Importance&long_desc_type=substring'
71
name => 'quicksearch_comment_cutoff',
74
checker => \&check_numeric
78
name => 'specific_search_allow_empty_words',