Hi Matthias,
you can add the target list to the contact filter by adding two files:
Add the file:
custom/Extension/modules/Contacts/Ext/Vardefs/targetlistfilter.php
with content:
<?php
$dictionary['Contact']['fields']['prospect_list_name'] = array (
'name' => 'prospect_list_name',
'rname' => 'name',
'id_name' => 'prospect_list_id',
'vname' => 'LBL_PROSPECTLIST_NAME',
'type' => 'relate',
'link' => 'prospect_lists',
'table' => 'prospect_lists',
'isnull' => 'true',
'module' => 'ProspectLists',
'dbType' => 'char',
'len' => '255',
'source' => 'non-db',
'duplicate_merge'=> 'disabled',
);
Add the file:
custom/Extension/modules/Contacts/Ext/Language/en_us.targetlistfilter.php
with content:
<?php
$mod_strings['LBL_PROSPECTLIST_NAME'] = 'Target List:';
Afterwards, do a Admin / Repair / Quick Repair and Rebuild
Open Studio, module Contacts / Layouts / Filter
The filter field Target List is now available in the Hidden list and can be added to the Quick Filter and the Advance Filter layout.