You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
initial_search does not work together with state_save = true #954
setting "initial_search" for a column filter doesn't work if "state_save" is set to "true", filter inputs remain empty.
Setting "state_save" to "false" fixes this, but then of course all other settings are lost.
Activity
knallcharge commentedon Jul 23, 2020
Managed to get a workaround for this by adding a function for state_load_params:
added this to buildDatatable()
and this as the new template-file "_data_callback.js.twig"
This sets the search-data for the given column to the search-term. Not pretty but fixes the broken "initial_search" when using "state_save = true".