[freeside-commits] branch master updated. 04e692658cc1823bdba999269c172fdecb5a3a16

Ivan ivan at 420.am
Sat Jun 30 01:51:30 PDT 2012


The branch, master has been updated
       via  04e692658cc1823bdba999269c172fdecb5a3a16 (commit)
      from  f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 04e692658cc1823bdba999269c172fdecb5a3a16
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Jun 30 01:51:27 2012 -0700

    fix TimeValue custom fields, RT#13852

diff --git a/rt/lib/RT/CustomField.pm b/rt/lib/RT/CustomField.pm
index 263bde8..7ba24b8 100644
--- a/rt/lib/RT/CustomField.pm
+++ b/rt/lib/RT/CustomField.pm
@@ -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,

-----------------------------------------------------------------------

Summary of changes:
 rt/lib/RT/CustomField.pm |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)




More information about the freeside-commits mailing list