DashboardContact - Change column_no field from bool to int
authorColeman Watts <coleman@civicrm.org>
Fri, 20 Mar 2020 17:25:15 +0000 (13:25 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 23 Mar 2020 20:14:27 +0000 (16:14 -0400)
CRM/Contact/DAO/DashboardContact.php
xml/schema/Contact/DashboardContact.xml

index 9870459a87c0a1a1717f187913bf1424537475af..1e890bdd2f8b13f54e023edadae0de7d1cb28166 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e2e825929c6c5404e7649fdde3162597)
+ * (GenCodeChecksum:65a1fcc31732f320ae7193e2a111f72b)
  */
 
 /**
@@ -50,7 +50,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
   /**
    * column no for this widget
    *
-   * @var bool
+   * @var int
    */
   public $column_no;
 
@@ -139,7 +139,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
         ],
         'column_no' => [
           'name' => 'column_no',
-          'type' => CRM_Utils_Type::T_BOOLEAN,
+          'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Column No'),
           'description' => ts('column no for this widget'),
           'where' => 'civicrm_dashboard_contact.column_no',
index 6e3f0599b9331dcf9b1f0176607cc93faa825ed9..9ec01e202e84d90b75c4b3b62ce55e554ff871d1 100644 (file)
@@ -56,7 +56,7 @@
   </index>
   <field>
     <name>column_no</name>
-    <type>boolean</type>
+    <type>int</type>
     <comment>column no for this widget</comment>
     <default>0</default>
     <add>3.1</add>