trestle
trestle copied to clipboard
Sorting in table view is ephemeral
Steps to reproduce:
- Sort by a column in list view
- Click on any row to see its details
- Go back to list by clicking appropriate breadcrumb or use following code in *_admin,rb file and pressing save to finish editing:
return_to do
admin.path(:index)
end
Observed result:
- User is redirected to list view, however the sorting is back to default
Expected result:
- User is redirected to list view preserving sorting, that was previously selected