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
{{ message }}
This repository has been archived by the owner on May 26, 2020. It is now read-only.
We have 2 sorting options - oldest to newest and newest to oldest. If you apply some filters and then sort the results (say newest to oldest), it returns correct results the first time but the second time you want to order (oldest to newest) it returns all the results without applied filters.
How can we get the list of currently applied filters to update the query ourselves?
Currently we only update the query like this:
automagic.store.updateSearchParameters({ orderby : "PublishedDate desc"});
(now it would return correct results with applied filters)
automagic.store.updateSearchParameters({ orderby : "PublishedDate asc" });
(now it would remove applied filters and return everything)
It doesn't really matter in what order you sort the results, it is always the second call that doesn't work correctly.
The documentation online doesn't really mention anything about this..
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have 2 sorting options - oldest to newest and newest to oldest. If you apply some filters and then sort the results (say newest to oldest), it returns correct results the first time but the second time you want to order (oldest to newest) it returns all the results without applied filters.
How can we get the list of currently applied filters to update the query ourselves?
Currently we only update the query like this:
automagic.store.updateSearchParameters({ orderby : "PublishedDate desc"});
(now it would return correct results with applied filters)
automagic.store.updateSearchParameters({ orderby : "PublishedDate asc" });
(now it would remove applied filters and return everything)
It doesn't really matter in what order you sort the results, it is always the second call that doesn't work correctly.
The documentation online doesn't really mention anything about this..
The text was updated successfully, but these errors were encountered: