I have created a filter where I use “custom states” for filter elements. But I faced with the problem, when I open the filtered item and return back, the filter is reset. I understand that I should use parameters but how can I do this? Should I refresh page with new parameters?
The page like this
I used to store filter in a thing instead of custom states.
- Create thing
Filter Params, fill it with filter fields.
User type create a field
Filter of type
- Add a database trigger when
User thing is created: create
Filter Params thing and set created user’s
Filter field to this value.
- Alternatively you can move creation of
Filter Thing to
When Page is Loaded and Current User's Filter is empty workflow to correctly handle existing users (with trigger option only new users will be assigned with new
Filter Params, you need to create and run initialization workflow for existing users in this case, and you still miss anonymous users as you cannot find them in database).
- Create privacy rules on
Filter Params thing to allow current user to autobind to it’s fields.
- Autobind your filter inputs to corresponding fileds of Current User’s Filter thing.
This topic was automatically closed after 70 days. New replies are no longer allowed.