open-admin
open-admin copied to clipboard
Mutible belongsTo relation with sorting fail
Describe the bug
Two relations with sorting on will fail
The sorting is set to all the fields (not the field)
To Reproduce
Steps to reproduce the behavior, for example:
$form->belongsTo('user_id', UserSelect::class, 'user'); $form->belongsToMany('tags', TagSelect::class);
Expected behavior
- either disable sorting or...
- Sorting should only be done for the specific field
- If the field is dirty, ask before navigating away (or disable sort)
System
- Open-admin version 1.0.27
Disabled sorting in forms, now fixed sorting for popup.