Reset all filters using javascript is still remembering the filters after user login back
I have created a global Reset Action which deactivate the all model conditions and clear the search box using JavaScript Snippet. It works fine if the user is in the session.
But when user logs out from the portal and log in back it remembers the last applied filters which was already reset using the Reset Action.
I guess the Reset Action is only deactivating the condition it is not toggling the values to the cache to forget the details of removed filters.
Please suggest me what to do in this scenario.
But when user logs out from the portal and log in back it remembers the last applied filters which was already reset using the Reset Action.
I guess the Reset Action is only deactivating the condition it is not toggling the values to the cache to forget the details of removed filters.
Please suggest me what to do in this scenario.
Tagged:
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
The second thought is a question or two: What is the page setting for Personalization Mode? And, in your deactivateCondition() functions do you include TRUE for the optional argument affectPersonalization?
deactivateCondition
(condition, affectPersonalization)Deactivates the given
skuid.model.Condition()
so that it will not be applied to future queries on this model.Arguments:
It was really very helpful information.