I’d like to filter the LBL_ACCOUNT_NAME quicksearch in the Cases module by adding a condition on a field. That is, I should get only the accounts with a specific value in a specific field.
This condition is fixed, not dynamic.
I’ve tried with a Select query in .php files in …\custom\modules\Cases but it doesn’t work, how can I do this?
That can be customized in SuiteCRM 7 by modifying the code… but it requires some knowledge of the backend.
Here are some posts to give you some ideas:
Can you please guide me on how we can add initial_filter for detail and list view?
I tried the below code in metadata/detailviewdefs.php and listviewdefs.php but it is not working, it is only working with editviewdef.php
‘initial_filter’ => ‘&user_kind_c_advanced=Employee’,