fix TimeValue custom fields, RT#13852
authorIvan Kohler <ivan@freeside.biz>
Sat, 30 Jun 2012 08:51:27 +0000 (01:51 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sat, 30 Jun 2012 08:51:27 +0000 (01:51 -0700)
rt/lib/RT/CustomField.pm

index 263bde8..7ba24b8 100644 (file)
@@ -170,11 +170,15 @@ our %FieldTypes = (
                     'Select up to [_1] datetimes',                    # loc
                   ]
                 },
-    TimeValue => [
-        'Enter multiple time values (UNSUPPORTED)',
-        'Enter a time value',
-        'Enter [_1] time values (UNSUPPORTED)',
-    ],
+    TimeValue => {
+        sort_order => 105,
+        selection_type => 0,
+        labels         => [
+                     'Enter multiple time values (UNSUPPORTED)',
+                     'Enter a time value',
+                     'Enter [_1] time values (UNSUPPORTED)',
+                   ]
+                 },
 
     IPAddress => {
         sort_order => 110,