[Custom Module] Sortable entries after first migration and selecting in orderCreated 5 years ago by damian_nz
Hi there, I have a stream in a custom module that has been in production for about a year. A new requirement has come up and I want to be able to sort them as you can with pages by dragging.
I have made a new migration and tried simply doing
protected $stream = [
'slug' => 'filters',
'sortable' => true
Unfortunately this didn't work.
Is it possible to make a stream sortable after the initial migration?
Then when it is working, how do I query to get it in the sorted order? Or will that happen automatically?