Hi
[color="#225985"]goFrendiAsgard[/color],
I copied two functions you have modified
1. function get_relation_n_n_unselected_array($field_info, $selected_values) and
2. public function set_relation_n_n($field_name, $relation_table, $selection_table, $primary_key_alias_to_this_table, $primary_key_alias_to_selection_table , $title_field_selection_table , $priority_field_relation_table = null, $where_clause = null)
and from my code, I am giving call like:
$crud->set_relation_n_n('user_id', 'user_device', 'user', 'device_id', 'user_id', 'email_address', 'priority', array('user_id'=>2));
but it is still listing all the lines instead of selected rows by where clause
Can you please help?
Thanks a lot
Regards,
Ashish Nirkhe