I have a doubt about set_relation_n_n. I need to show a value from relation table.
In this example http://www.grocerycrud.com/documentation/options_functions/set_relation_n_n , its like a need to show priority value, conditioned to a where clause from selection_table.
Something like that:
$where = "actor_id = 1";
$crud->set_relation_n_n('actors', 'film_actor', 'actor', 'film_id', 'actor_id', 'priority', $where);
I've tried with set_model but on read or edit only shows fields the FROM table