Add serialize metadata to tag used_for field
authorColeman Watts <coleman@civicrm.org>
Sun, 21 Apr 2019 00:24:08 +0000 (20:24 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 21 Apr 2019 00:27:35 +0000 (20:27 -0400)
The used_for field is a comma separated list.

CRM/Core/DAO/Tag.php
xml/schema/Core/Tag.xml

index 0dce7bc38be633f363d6412b3879c6df4f2b4e70..24fc209c681bd70898a7d69f436955c2c9387d68 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Tag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e66cd3973c4f223dd201904b3c59b233)
+ * (GenCodeChecksum:8c816585b0863674074b4aaf5c644cab)
  */
 
 /**
@@ -229,6 +229,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'serialize' => self::SERIALIZE_COMMA,
           'html' => [
             'type' => 'Select',
           ],
index 2b7b047f1816d51d6f7bdfa87a6a9f428631aa34..378845845169e53cd414c007156c53101705cb16 100644 (file)
@@ -90,6 +90,7 @@
     <pseudoconstant>
       <optionGroupName>tag_used_for</optionGroupName>
     </pseudoconstant>
+    <serialize>COMMA</serialize>
     <add>3.2</add>
   </field>
   <field>