APYDataGridBundle icon indicating copy to clipboard operation
APYDataGridBundle copied to clipboard

Column with id "tweaks" doesn't exists

Open GSpecDrum opened this issue 7 years ago • 0 comments

When i apply some tweak, it was saved in session. After, i try to get applied column filters by call $grid->getFilters(), but in this method code will walk through $grid->sessionData, where are saved grid tweaks.

Then code try to get column by name tweaks, which it get from session and throw this exeption, because entity don't have this column.

Need to add to $requestQueries array in method getFilters() another item with value 'tweaks' to unset them from $session variable.

https://github.com/APY/APYDataGridBundle/blob/78e3bed18d330bce082024769f64ccfc99fc368d/Grid/Grid.php#L2196-L2239

GSpecDrum avatar Jul 13 '18 07:07 GSpecDrum