Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add html type for civicrm_note.privacy field #13532

Merged
merged 1 commit into from
Feb 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CRM/Core/DAO/Note.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/Note.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:b61ee312769a75c8c8de8acb23094844)
* (GenCodeChecksum:daafebd13390de67d82735263e9fa886)
*/

/**
Expand Down Expand Up @@ -221,6 +221,9 @@ public static function &fields() {
'entity' => 'Note',
'bao' => 'CRM_Core_BAO_Note',
'localizable' => 0,
'html' => [
'type' => 'Select',
],
'pseudoconstant' => [
'optionGroupName' => 'note_privacy',
'optionEditPath' => 'civicrm/admin/options/note_privacy',
Expand Down
3 changes: 3 additions & 0 deletions xml/schema/Core/Note.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
<length>255</length>
<comment>Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK)</comment>
<add>3.3</add>
<html>
<type>Select</type>
</html>
<pseudoconstant>
<optionGroupName>note_privacy</optionGroupName>
</pseudoconstant>
Expand Down