diff options
author | Simon Green <sgreen@redhat.com> | 2014-02-27 08:33:45 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2014-02-27 08:33:45 +1000 |
commit | 3776f86ebdfb6169a35c525ce6b8363eb0cabbe1 (patch) | |
tree | a4c68a99923b16df2628af32e3a20064cdbe84b0 /Bugzilla/Constants.pm | |
parent | 64f44ef195aedfa291ffa474fab1db13624f60d7 (diff) | |
download | bugs-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.tar bugs-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.tar.gz bugs-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.tar.bz2 bugs-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.tar.xz bugs-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.zip |
Bug 466178 - Add an INTEGER custom field type
r=glob, a=justdave
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 7154d4536..a296e2e25 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -111,8 +111,9 @@ use Memoize; FIELD_TYPE_BUG_ID FIELD_TYPE_BUG_URLS FIELD_TYPE_KEYWORDS + FIELD_TYPE_INTEGER FIELD_TYPE_HIGHEST_PLUS_ONE - + EMPTY_DATETIME_REGEX ABNORMAL_SELECTS @@ -398,9 +399,10 @@ use constant FIELD_TYPE_BUG_ID => 6; use constant FIELD_TYPE_BUG_URLS => 7; use constant FIELD_TYPE_KEYWORDS => 8; use constant FIELD_TYPE_DATE => 9; +use constant FIELD_TYPE_INTEGER => 10; # Add new field types above this line, and change the below value in the # obvious fashion -use constant FIELD_TYPE_HIGHEST_PLUS_ONE => 10; +use constant FIELD_TYPE_HIGHEST_PLUS_ONE => 11; use constant EMPTY_DATETIME_REGEX => qr/^[0\-:\sA-Za-z]+$/; |