- This topic has 3 replies, 2 voices, and was last updated 5 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Select: Option order
Hi,
Is it possible to choose another type of order in a <select> field?
By default, it is in alphabetical order.
In your example (https://demo.searchandfilter.com/movies/), in the “Production Company” field, if I want to display the items in order of term ID, what can I do?
Thanks.
You would have to do this using this filter:
https://searchandfilter.com/documentation/action-filter-reference/#filter-input-object
To re-order the terms in the field.
I am not sure if it will help, but if there are many snippets already in the forum, this forum search should find them:
https://support.searchandfilter.com/forums/search/sf_input_object_pre+function+order/