summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-02-26 23:33:45 +0100
committerSimon Green <sgreen@redhat.com>2014-02-26 23:33:45 +0100
commit3776f86ebdfb6169a35c525ce6b8363eb0cabbe1 (patch)
treea4c68a99923b16df2628af32e3a20064cdbe84b0 /Bugzilla/Constants.pm
parent64f44ef195aedfa291ffa474fab1db13624f60d7 (diff)
downloadbugzilla-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.tar.gz
bugzilla-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.tar.xz
Bug 466178 - Add an INTEGER custom field type
r=glob, a=justdave
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm6
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]+$/;