grocery-crud icon indicating copy to clipboard operation
grocery-crud copied to clipboard

added 'order by' option to set_relation_n_n

Open GavinOB opened this issue 9 years ago • 2 comments

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.

GavinOB avatar Nov 21 '15 00:11 GavinOB

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

Pimnr47 avatar Jul 09 '17 10:07 Pimnr47

It doesn't work in version 1.6.3. Can you help me?

Thanks

ajuser avatar Mar 26 '20 15:03 ajuser