Hello
I have a question about set_relation_n_n priority field
my code is :
$crud->set_relation_n_n('Bus_Stops','busstops_route','busstops','route_id', 'busstops_id','{busstops_name}','order');
when I add a new item it is by default taking alphabetical order of the busstops_name field but when I drag and drop any busstop up or down in the menu it is taking the order as i want .
my question is how can I stop default ordering by busstops_name field and make it take the order as I clicked on the items
I have attached the photo
Thank You in advance
[attachment=1114:Captussssssre.PNG]