From afbbfe954825d766c42db6f229f13bc773cb1da4 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Mon, 4 Feb 2019 19:33:39 +0000 Subject: [PATCH] Add html type for civicrm_note.privacy field --- CRM/Core/DAO/Note.php | 5 ++++- xml/schema/Core/Note.xml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CRM/Core/DAO/Note.php b/CRM/Core/DAO/Note.php index e15b7df9ac..8287d98ba0 100644 --- a/CRM/Core/DAO/Note.php +++ b/CRM/Core/DAO/Note.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Note.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b61ee312769a75c8c8de8acb23094844) + * (GenCodeChecksum:daafebd13390de67d82735263e9fa886) */ /** @@ -221,6 +221,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'entity' => 'Note', 'bao' => 'CRM_Core_BAO_Note', 'localizable' => 0, + 'html' => [ + 'type' => 'Select', + ], 'pseudoconstant' => [ 'optionGroupName' => 'note_privacy', 'optionEditPath' => 'civicrm/admin/options/note_privacy', diff --git a/xml/schema/Core/Note.xml b/xml/schema/Core/Note.xml index b6e60dfb17..c04e66cbba 100644 --- a/xml/schema/Core/Note.xml +++ b/xml/schema/Core/Note.xml @@ -105,6 +105,9 @@ 255 Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK) 3.3 + + Select + note_privacy -- 2.25.1