[Rt-commit] rt branch, admin_ui, updated. c31e53eb1fc8bedcab199807989e95347111a1ec

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Jan 4 01:34:00 EST 2010


The branch, admin_ui has been updated
       via  c31e53eb1fc8bedcab199807989e95347111a1ec (commit)
      from  67be570fdafe7bf3ead60edc7599c555663e9bcd (commit)

Summary of changes:
 lib/RT/Model/CustomFieldValue.pm |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit c31e53eb1fc8bedcab199807989e95347111a1ec
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Jan 4 14:33:38 2010 +0800

    limit display length for cfv

diff --git a/lib/RT/Model/CustomFieldValue.pm b/lib/RT/Model/CustomFieldValue.pm
index 40fb35c..02711e8 100644
--- a/lib/RT/Model/CustomFieldValue.pm
+++ b/lib/RT/Model/CustomFieldValue.pm
@@ -55,9 +55,10 @@ use Jifty::DBI::Schema;
 use Jifty::DBI::Record schema {
     column sort_order      => type is 'int', max_length is 11, default is '0';
     column custom_field    => type is 'int', max_length is 11, default is '0';
-    column name            => type is 'varchar(200)', max_length is 200, default is '';
+    column name            => type is 'varchar(200)', max_length is 200,
+           display_length is 20, default is '';
     column
-        description => type is 'varchar(255)',
+        description => type is 'varchar(255)', display_length is 60,
         max_length is 255, default is '';
 
 };

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


More information about the Rt-commit mailing list