AnsweredAssumed Answered

Define custom filter by default.

Question asked by Rodolfo Jesus on Mar 29, 2016
Latest reply on Mar 29, 2016 by Rodolfo Jesus

How define custom filter by default for all users? I'm use sugar 7.6

 

My custom filter.

$viewdefs['Leads']['base']['filter']['basic']['filters'][] = array(
    'id' => 'filterLeadConverted',
    'name' => 'Não convertidos',
    'filter_definition' => array(
        array(
            'converted' => array(
                '$equals' => array(
                    false,
                ),
            ),
        ),
    ),
    'editable' => false,
    'is_template' => false,
);

Outcomes