nova-medialibrary-field
nova-medialibrary-field copied to clipboard
Reuse of `->sortable()` creates broken sorting on index
According to the documentation, we can do ->sortable() on the field, to make the Media draggable / sortable while editing.
https://github.com/dmitrybubyakin/nova-medialibrary-field#sorting
By reusing this property, the Field is marked as sortable, thus Laravel Nova will render arrows on the index page.

Clicking on one of those will give an error, because the column product_images does not exists in my database (nor does it have to).
Maybe it's better to not reuse this standard Nova property? Nova has no wrapper-function around it, so you can't really disable these arrows.
@sebsel Hi. Yes, going to rename this. Thanks.