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
Currently, the order in which filters are applied is more or less random because it's just the order in which Object.values(this.filters) returns the filters. This may lead to situations where the same set of filters looks differently in different instances because they do not have the same order.
The solution to this is to define some sort of order in which filters are applied. As a first step, it might make sense to just hard code the most natural order of filter types. And filters of the same type need to be sorted by another property. As a first attempt, the id of the filter could be used.
Later one, the order could be adjustable by users.
Description
Currently, the order in which filters are applied is more or less random because it's just the order in which
Object.values(this.filters)
returns the filters. This may lead to situations where the same set of filters looks differently in different instances because they do not have the same order.The solution to this is to define some sort of order in which filters are applied. As a first step, it might make sense to just hard code the most natural order of filter types. And filters of the same type need to be sorted by another property. As a first attempt, the id of the filter could be used.
Later one, the order could be adjustable by users.
Context
#116 (comment)
The text was updated successfully, but these errors were encountered: