Mwalker has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/116671

Change subject: Make address fields text fields in the db
......................................................................

Make address fields text fields in the db

See also: https://gerrit.wikimedia.org/r/116670

Change-Id: I6444ffbd61a48e59a746315676dea27cd6fdf870
---
M CRM/Core/DAO/Address.php
1 file changed, 4 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm 
refs/changes/71/116671/1

diff --git a/CRM/Core/DAO/Address.php b/CRM/Core/DAO/Address.php
index 3d50fd8..7758cc6 100644
--- a/CRM/Core/DAO/Address.php
+++ b/CRM/Core/DAO/Address.php
@@ -316,9 +316,8 @@
                 ) ,
                 'street_address' => array(
                     'name' => 'street_address',
-                    'type' => CRM_Utils_Type::T_STRING,
+                    'type' => CRM_Utils_Type::T_TEXT,
                     'title' => ts('Street Address') ,
-                    'maxlength' => 96,
                     'size' => CRM_Utils_Type::HUGE,
                     'import' => true,
                     'where' => 'civicrm_address.street_address',
@@ -391,9 +390,8 @@
                 ) ,
                 'supplemental_address_1' => array(
                     'name' => 'supplemental_address_1',
-                    'type' => CRM_Utils_Type::T_STRING,
+                    'type' => CRM_Utils_Type::T_TEXT,
                     'title' => ts('Additional Address 1') ,
-                    'maxlength' => 96,
                     'size' => CRM_Utils_Type::HUGE,
                     'import' => true,
                     'where' => 'civicrm_address.supplemental_address_1',
@@ -403,9 +401,8 @@
                 ) ,
                 'supplemental_address_2' => array(
                     'name' => 'supplemental_address_2',
-                    'type' => CRM_Utils_Type::T_STRING,
+                    'type' => CRM_Utils_Type::T_TEXT,
                     'title' => ts('Additional Address 2') ,
-                    'maxlength' => 96,
                     'size' => CRM_Utils_Type::HUGE,
                     'import' => true,
                     'where' => 'civicrm_address.supplemental_address_2',
@@ -415,9 +412,8 @@
                 ) ,
                 'supplemental_address_3' => array(
                     'name' => 'supplemental_address_3',
-                    'type' => CRM_Utils_Type::T_STRING,
+                    'type' => CRM_Utils_Type::T_TEXT,
                     'title' => ts('Supplemental Address 3') ,
-                    'maxlength' => 96,
                     'size' => CRM_Utils_Type::HUGE,
                 ) ,
                 'city' => array(

-- 
To view, visit https://gerrit.wikimedia.org/r/116671
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6444ffbd61a48e59a746315676dea27cd6fdf870
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Mwalker <mwal...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to