mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 14:38:05 +02:00
Fix search » contacts by categories
This commit is contained in:
parent
63b930101e
commit
a67bd1cbbd
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
<div af-fieldset="">
|
||||
<af-field name="Contact_ContactCategory_id_01.category_definition_id" defn="{input_attrs: {multiple: true}, label: 'Category'}" />
|
||||
<crm-search-display-table search-name="Contacts_by_category_uxxr" display-name="Contacts_by_category"></crm-search-display-table>
|
||||
<crm-search-display-table search-name="Contacts_by_category" display-name="Contacts_by_category"></crm-search-display-table>
|
||||
</div>
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
filters: '<',
|
||||
totalCount: '=?'
|
||||
},
|
||||
// controller: function($scope, $timeout, crmApi4, crmStatus, $document) {
|
||||
controller: function($scope, $element, crmApi4, searchDisplayBaseTrait, searchDisplayTasksTrait) {
|
||||
console.log('crmSearchDisplayContactCat controller called');
|
||||
// Mix in required traits
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
use CRM_Contactcats_ExtensionUtil as E;
|
||||
|
||||
// This defines a search display type... I think.
|
||||
return [
|
||||
[
|
||||
'name' => 'OptionValue_crm_search_display_contact_cat',
|
||||
|
|
|
@ -52,7 +52,7 @@ return [
|
|||
],
|
||||
],
|
||||
[
|
||||
'name' => 'SavedSearch_Contacts_by_category_uxxr_SearchDisplay_Contacts_by_category',
|
||||
'name' => 'SavedSearch_Contacts_by_category_SearchDisplay_Contacts_by_category',
|
||||
'entity' => 'SearchDisplay',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
|
@ -61,7 +61,7 @@ return [
|
|||
'values' => [
|
||||
'name' => 'Contacts_by_category',
|
||||
'label' => E::ts('Contacts by category'),
|
||||
'saved_search_id.name' => 'Contacts_by_category_uxxr',
|
||||
'saved_search_id.name' => 'Contacts_by_category',
|
||||
'type' => 'table',
|
||||
'settings' => [
|
||||
'description' => E::ts(NULL),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue