Open tobifjellner opened 3 months ago
FreeScout #78288.
https://support.gravitykit.com/conversation/78288?folder_id=1
FreeScout #78288.
https://support.gravitykit.com/conversation/78288?folder_id=1
That was actually a "feature". We suggest that when users want to implement a UNION.
Currently, when a search bar is used in GravityView, the generated URL includes generic query parameters (e.g.,
?filter_3=Marketing&mode=all
). This becomes problematic when multiple Views with search bars are embedded on a single page: a search executed in one View inadvertently applies to all embedded Views due to the non-unique filter references (e.g.,filter_3
).To fix this, we could incorporate View ID into the filter name (e.g.,
?filter_10_3
is View ID 10 and field ID 3). This would ensure that each View's search bar generates unique query parameters, thereby isolating the search scope to the intended View.Implementing this would prevent cross-contamination of search results among multiple Views placed on a single page/post. This would enhance usability and provide a clearer, more predictable search experience for users.