diff options
author | mkanat%bugzilla.org <> | 2009-11-09 20:09:03 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-11-09 20:09:03 +0100 |
commit | 6ead1a2575509273484fd9c3a9186ebec2f338b8 (patch) | |
tree | 157eeb3a8e5797835478e0e8f39b7767c40bd6e0 /Bugzilla/Constants.pm | |
parent | 6188fad092e9f347a111ed30d0e21bb048d69998 (diff) | |
download | bugzilla-6ead1a2575509273484fd9c3a9186ebec2f338b8.tar.gz bugzilla-6ead1a2575509273484fd9c3a9186ebec2f338b8.tar.xz |
Bug 524669: Allow every simple field in fielddefs to be specified directly in search URLs.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=gerv, a=mkanat
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 6c2e648bf..6e22eb793 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -126,6 +126,8 @@ use File::Basename; FIELD_TYPE_BUG_ID FIELD_TYPE_BUG_URLS + TIMETRACKING_FIELDS + USAGE_MODE_BROWSER USAGE_MODE_CMDLINE USAGE_MODE_XMLRPC @@ -358,6 +360,12 @@ use constant FIELD_TYPE_DATETIME => 5; use constant FIELD_TYPE_BUG_ID => 6; use constant FIELD_TYPE_BUG_URLS => 7; +# The fields from fielddefs that are blocked from non-timetracking users. +# work_time is sometimes called actual_time. +use constant TIMETRACKING_FIELDS => + qw(estimated_time remaining_time work_time actual_time + percentage_complete deadline); + # The maximum number of days a token will remain valid. use constant MAX_TOKEN_AGE => 3; # How many days a logincookie will remain valid if not used. |