From: Tim Mallezie Date: Sun, 29 Mar 2015 17:46:03 +0000 (+0200) Subject: Subject is indeed needed, needs to be added to schema X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b1d46a6b4006fcc42c39ed905ad5c30f0f2fcc67;p=civicrm-core.git Subject is indeed needed, needs to be added to schema --- diff --git a/CRM/Contact/Form/Edit/Notes.php b/CRM/Contact/Form/Edit/Notes.php index dce7363a43..2aa1285fe3 100644 --- a/CRM/Contact/Form/Edit/Notes.php +++ b/CRM/Contact/Form/Edit/Notes.php @@ -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)); } } diff --git a/xml/schema/Core/Note.xml b/xml/schema/Core/Note.xml index cb3740e01c..302aa4c9a0 100644 --- a/xml/schema/Core/Note.xml +++ b/xml/schema/Core/Note.xml @@ -89,6 +89,9 @@ varchar 255 subject of note description + + Text + 1.5