AnsweredAssumed Answered

How do I sort a select box, using metadata?

Question asked by Amy Cox on Jul 14, 2015
Latest reply on Jul 29, 2015 by André Lopes
How do I automatically sort (using metadata) the pop up window that comes up when a user selects  record to relate to another record?

For example: If I want the user to only be able to select a modules of School account  type, to be related to the parent module then I put the following:

0 => 
           array (
            'name' => 'accounts_leads_1_name',
            'displayParams' => 
            array (
                    'initial_filter' => '&account_type=School',
             ),
),

How would I change that to sort by account name instead?

Outcomes