Is it possible to order items in the has_many selection boxes?
I've tried something like:
public $has_many = array(
'articles' => array('model' => array(NEWSLETTER_FOLDER => 'articles_model', 'order' => 'precedence ASC'))
);
but it doesn't seem to have an effect.
Comments
public $has_many = array( 'articles' => array('model' => array(NEWSLETTER_FOLDER => 'articles_model', 'order' => 'precedence ASC')) );
and it didn't seem to order the list on the left hand side according to the column specified.
Also, although saving the items added to the right hand side works, it doesn't seem to save an emptied right hand side, or even a partially emptied one. Eg add 3 items to the right, save, remove 2 or more items and save, you still have 3 items in the right.
I don't think the fuel_relationships table is being cleared on save?
The clearing of the fuel_relationships table is fine now though.
public $has_many = array( 'articles' => array('model' => array(NEWSLETTER_FOLDER => 'articles_model'), 'order' => 'precedence ASC'));