I don’t know if it’s because the collection doesn’t load so the parameter as a filter can’t be neither, or something like this.
I’m also thinking it’s because I’m putting a search bar value variable as a filter, variable that doesn’t exist when not used. As a result, I’m getting “Unknown” in filter that causes the collection to not load :
I think it’s something I might have missed, but I understand that a variable ”.. - value “ (for a search bar or a select for example), can’t be used as a collection filter. Because when a user is not on the page where the value variable is located, this variable is not usable anymore. Is that it ?
As a result, I’m creating a variable that will host the value of the built-in variable from component such as select or search bar, because a created variable is always “known” even when the use is not on the page.
Don’t know if I’m making my point here, I hope so !
Aaah yes, that’s it: because the variable is tied to the element, it only exists when the element exists on the page, i.e. if the user is on the page.
You’ll want to create a global variable with default values and update that variable with the values of the select and search variables when they are used. That way, the variable in your filters will always exist