Add the ability to order relations displayed in every object view #799

Closed
batopa opened this Issue Feb 19, 2016 · 0 comments

Projects

None yet

1 participant

@batopa
Member
batopa commented Feb 19, 2016

We need an easy way to apply a specified order to relations displayed in every object view.
For example in a module controller we could define something like

protected $relationsOrder = array(
    'Document' => array('attach', 'seealso'), // display first 'attach' and 'seealso' then other relations
    'Event' => array('seealso') // display first 'seealso'
);

The ModuleController::viewObject() should use that attribute to reorder the relations

@batopa batopa self-assigned this Feb 19, 2016
@batopa batopa added this to the 3-updates milestone Feb 19, 2016
@batopa batopa closed this Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment