mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 21:48:05 +02:00
package SK + FB
This commit is contained in:
parent
c6c1840073
commit
ca1360f8bf
7 changed files with 355 additions and 0 deletions
67
managed/searchkit-category-for-contact-summary.mgd.php
Normal file
67
managed/searchkit-category-for-contact-summary.mgd.php
Normal file
|
@ -0,0 +1,67 @@
|
|||
<?php
|
||||
use CRM_Contactcats_ExtensionUtil as E;
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'SavedSearch_Category_for_contact',
|
||||
'entity' => 'SavedSearch',
|
||||
'cleanup' => 'always',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'name' => 'Category_for_contact',
|
||||
'label' => E::ts('Category for contact'),
|
||||
'api_entity' => 'ContactCategory',
|
||||
'api_params' => [
|
||||
'version' => 4,
|
||||
'select' => [
|
||||
'id',
|
||||
'category:label',
|
||||
'contact_id',
|
||||
],
|
||||
'orderBy' => [],
|
||||
'where' => [],
|
||||
'groupBy' => [],
|
||||
'join' => [],
|
||||
'having' => [],
|
||||
],
|
||||
],
|
||||
'match' => [
|
||||
'name',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'SavedSearch_Category_for_contact_SearchDisplay_Category_for_contact_List_1',
|
||||
'entity' => 'SearchDisplay',
|
||||
'cleanup' => 'always',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'name' => 'Category_for_contact_List_1',
|
||||
'label' => E::ts('Category for contact List 1'),
|
||||
'saved_search_id.name' => 'Category_for_contact',
|
||||
'type' => 'list',
|
||||
'settings' => [
|
||||
'style' => 'ul',
|
||||
'limit' => 0,
|
||||
'sort' => [],
|
||||
'pager' => FALSE,
|
||||
'columns' => [
|
||||
[
|
||||
'type' => 'field',
|
||||
'key' => 'category:label',
|
||||
'dataType' => 'Integer',
|
||||
],
|
||||
],
|
||||
'placeholder' => 0,
|
||||
],
|
||||
],
|
||||
'match' => [
|
||||
'name',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue