Fix contact summary search display

This commit is contained in:
Rich Lott / Artful Robot 2025-04-02 14:43:06 +01:00
parent e65d0dcf6c
commit ac8d415729
4 changed files with 45 additions and 78 deletions

View 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',
],
],
],
];