Subject is indeed needed, needs to be added to schema
authorTim Mallezie <tim.mallezie@chiro.be>
Sun, 29 Mar 2015 17:46:03 +0000 (19:46 +0200)
committerTim Mallezie <tim.mallezie@chiro.be>
Tue, 14 Apr 2015 14:38:10 +0000 (16:38 +0200)
CRM/Contact/Form/Edit/Notes.php
xml/schema/Core/Note.xml

index dce7363a430855573269e7f194d14dc3725f3bb1..2aa1285fe30bf0dd6c85dfa6535d9291f3af1324 100644 (file)
@@ -42,7 +42,8 @@ class CRM_Contact_Form_Edit_Notes {
    */
   public static function buildQuickForm(&$form) {
     $form->applyFilter('__ALL__', 'trim');
-    $form->addField('note', array('entity' => 'note', 'cols' => '60', 'rows' => '3'));
+    $form->addField('subject', array('entity' => 'note', 'size' => 60, 'maxlength' => 254));
+    $form->addField('note', array('entity' => 'note', 'cols' => 60, 'rows' => 3));
   }
 
 }
index cb3740e01ce7ff5ea793daa449a222688e163eab..302aa4c9a0f6470acca99158a8dbbb5f7ba87b50 100644 (file)
@@ -89,6 +89,9 @@
     <type>varchar</type>
     <length>255</length>
     <comment>subject of note description</comment>
+    <html>
+      <type>Text</type>
+    </html>
     <add>1.5</add>
   </field>
   <field>