Is there a way to make ModelAdmin filters more persistent? Currently if you filter, edit a DataObject and come back, the filter is gone. Also prev/next from unclecheese/betterbuttons do not respect the filter. It jumps to the next Object but not necessarily one of the filtered Objects. I think there was a module for 2.4 called RemodelAdmin that did some of this, but since now all is GridFiled based, this seams like something completely different. Has anybody done some work in this direction for SilverStripe >3 or some hint how to achieve this?
ModelAdmin filter resets itself
Asked Answered
this has been bugging me for a long time too, see this 3 years old ticket where the issue was first documented: open.silverstripe.org/ticket/7642. there seems to be part of a solution in a pull request here: github.com/silverstripe/silverstripe-framework/pull/3542 –
Handbill
That's an old issue, I was speking about it with Unclecheese 1 year ago: github.com/unclecheese/silverstripe-gridfield-betterbuttons/… –
Federicofedirko
I believe you should remove the module better buttons to get the filter to still be present upon selection of "back" or browser back action.
whoot - can it be that simple? Whit what version of SilverStripe is this behavior given? Honestly GF without better-button feels like a different pain rather than a solution :) I just saw two modules which both could solve the issue github.com/Little-Giant/silverstripe-persistentgridfield github.com/Tom-Alexander/silverstripe-griddle –
Peroration
© 2022 - 2024 — McMap. All rights reserved.