mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-26 11:18:05 +02:00
Fix contact summary search display
This commit is contained in:
parent
e65d0dcf6c
commit
ac8d415729
4 changed files with 45 additions and 78 deletions
27
managed/OptionValue_crm_search_display_contact_cat.mgd.php
Normal file
27
managed/OptionValue_crm_search_display_contact_cat.mgd.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
use CRM_Contactcats_ExtensionUtil as E;
|
||||
|
||||
// This defines a search display type... I think.
|
||||
return [
|
||||
[
|
||||
'name' => 'OptionValue_crm_search_display_contact_cat',
|
||||
'entity' => 'OptionValue',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'option_group_id:name' => 'search_display_type',
|
||||
'label' => E::ts('Category'),
|
||||
'value' => 'contact-cat',
|
||||
'name' => 'crm-search-display-contact-cat',
|
||||
'description' => E::ts('Shows the current and previous categories for this contact'),
|
||||
'icon' => 'fa-tag',
|
||||
],
|
||||
'match' => [
|
||||
'option_group_id',
|
||||
'name',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue