mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 21:48:05 +02:00
38 lines
965 B
PHP
38 lines
965 B
PHP
<?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_Locus_0_2',
|
|
'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'],
|
|
],
|
|
],
|
|
];
|