mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-26 09:18:04 +02:00
Add managed saved searches
This commit is contained in:
parent
d5ee875aef
commit
699436c75b
16 changed files with 1035 additions and 0 deletions
38
managed/SavedSearch_ContactCategories_0_2_Locus.mgd.php
Normal file
38
managed/SavedSearch_ContactCategories_0_2_Locus.mgd.php
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
use CRM_Contactcats_ExtensionUtil as E;
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'SavedSearch_ContactCategories_0_2_Locus',
|
||||
'entity' => 'SavedSearch',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'name' => 'ContactCategories_0_2_Locus',
|
||||
'label' => E::ts('ContactCategories 0.2 Locus'),
|
||||
'api_entity' => 'Contact',
|
||||
'api_params' => [
|
||||
'version' => 4,
|
||||
'select' => [
|
||||
'id',
|
||||
'sort_name',
|
||||
'contact_type:label',
|
||||
'contact_sub_type:label',
|
||||
],
|
||||
'orderBy' => [],
|
||||
'where' => [
|
||||
['created_date', '>=', 'now - 12 month'],
|
||||
],
|
||||
'groupBy' => [],
|
||||
'join' => [],
|
||||
'having' => [],
|
||||
],
|
||||
'description' => E::ts('0.2 Interested
|
||||
entry into database < 12 months - no activity'),
|
||||
],
|
||||
'match' => ['name'],
|
||||
],
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue