summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-10-25 12:59:26 +0200
committerbugreport%peshkin.net <>2002-10-25 12:59:26 +0200
commit7d1af605344e93b289e46c9d5520532b6f2cad15 (patch)
tree74e59342af2e8e550c79b379957de26d6a779cf7 /defparams.pl
parent80b04d87987037a62e3755beeca519246d99b319 (diff)
downloadbugzilla-7d1af605344e93b289e46c9d5520532b6f2cad15.tar.gz
bugzilla-7d1af605344e93b289e46c9d5520532b6f2cad15.tar.xz
Bug 162990 Shorthand/wildcard entry for login names in assign, cc, qa, fields
patch by not_erik@dasbistro.com r=joel, myk
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl33
1 files changed, 33 insertions, 0 deletions
diff --git a/defparams.pl b/defparams.pl
index bb5d43df7..a6abf0099 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -879,6 +879,39 @@ Reason: %reason%
default => '32',
checker => \&check_netmask
},
+
+ {
+ name => 'usermatchmode',
+ desc => 'Allow match strings to be entered for user names when entering ' .
+ 'and editing bugs. <p>' .
+ '"off" disables matching,<br> ' .
+ '"wildcard" allows only wildcards,<br> ' .
+ 'and "search" allows both wildcards and substring (freetext) ' .
+ 'matches.',
+ type => 's',
+ choices => ['off', 'wildcard', 'search'],
+ default => 'off'
+ },
+
+ {
+ name => 'maxusermatches',
+ desc => 'Search for no more than this many matches. <br>'.
+ 'If set to "1", no users will be displayed on ambiguous matches. '.
+ 'This is useful for user privacy purposes. <br>'.
+ 'A value of zero means no limit.',
+ type => 't',
+ default => '1000',
+ checker => \&check_numeric
+ },
+
+ {
+ name => 'confirmuniqueusermatch',
+ desc => 'Whether a confirmation screen should be displayed when only ' .
+ 'one user matches a search entry',
+ type => 'b',
+ default => 1,
+ },
+
);
1;