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've noticed the values inside the select fields are not ordered alphabetically, but just by value.
To achieve alphabetical ordering, you might want to replace arsort($facet);
with array_multisort(array_values($facet), SORT_DESC, array_keys($facet), SORT_ASC, $facet);
in FacetsFunctions.php file.
Hope this helps.
The text was updated successfully, but these errors were encountered:
Hi.
I've noticed the values inside the select fields are not ordered alphabetically, but just by value.
To achieve alphabetical ordering, you might want to replace
arsort($facet);
with
array_multisort(array_values($facet), SORT_DESC, array_keys($facet), SORT_ASC, $facet);
in FacetsFunctions.php file.
Hope this helps.
The text was updated successfully, but these errors were encountered: