grocery-crud
grocery-crud copied to clipboard
added 'order by' option to set_relation_n_n
I added an optional "order by" parameter to the set_relation_n_n function. This allows sorting of the items in the multiselect list based on another field in the selection table.
Hi Gavin,
Thanks for your contribution.
Isn't the point of the priority parameter such that the user can order the selected items themselves?
I think it makes more sense to only use it for unselected items. What would otherwise be the behaviour of the priority parameter?
Cheers, Pim
It doesn't work in version 1.6.3. Can you help me?
Thanks