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
I'd like to see facets ordered from most to least frequency, when using the "Add all" button. Currently it seems to order them by some internal ID or creation date, which is counter-intuitive to the interface.
The text was updated successfully, but these errors were encountered:
I agree that clicking the "Add all" button should maintain order. Unfortunately, the use of a multi-select (modified by Chosen) makes that impossible because it always maintains the original order of the select options, regardless of how it's populated. It may be possible to change how we populate the select, but that would require a non-negligible change to the core; and it may not be advisable anyway because the query that fetches item count is intensive and could reach some memory or time limit. We get away with it here because "Show all available..." is optional.
The same goes for #38: there's no way to rearrange select options on a multi-select. Chosen improves UI and adds some features but it doesn't allow rearranging. I think the way forward here is to explore alternatives to the native multi-select. I haven't looked into it much, but possibilities are Selectize and Choices. Of course we could develop a custom solution that circumvents the use of a multi-select, but that's considerably more ambitious and probably not worth our time.
I'd like to see facets ordered from most to least frequency, when using the "Add all" button. Currently it seems to order them by some internal ID or creation date, which is counter-intuitive to the interface.
The text was updated successfully, but these errors were encountered: