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
I have 2 filters: TextType and EntityType - Filtering works properly (handled via JS URLSearchParams(formData)) but when I filter with EntityType filter and then try to paginate it shows next page only with TextType filter only - <select> field is cleared out.
I submit filtration form with URLSearchParams(formData) and put additional parameters which are unique.
It is worth to mention that if I filter my table when Company EntityType is not set then In pagination I can see that the parameter is added to href
I get table via Turbo response and render filtration_form manually then data_table_table() and finally data_table_pagination().
I cant figure out why this query parameter is not added to pagination but at least my query_string is somehow added
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have 2 filters:
TextType
andEntityType
- Filtering works properly (handled via JSURLSearchParams(formData)
) but when I filter withEntityType
filter and then try to paginate it shows next page only with TextType filter only -<select>
field is cleared out.I submit filtration form with
URLSearchParams(formData)
and put additional parameters which are unique.It is worth to mention that if I filter my table when Company
EntityType
is not set then In pagination I can see that the parameter is added to hrefI get table via Turbo response and render
filtration_form
manually thendata_table_table()
and finallydata_table_pagination()
.I cant figure out why this query parameter is not added to pagination but at least my
query_string
is somehow addedTableType.php
Controller.php
Beta Was this translation helpful? Give feedback.
All reactions