A
A
Antonio19932014-07-23 07:07:11
PHP
Antonio1993, 2014-07-23 07:07:11

How to sort values ​​in expanded Drupal filter?

I can not find a solution on the Internet for 3 days. The task is to sort the values ​​in ascending order in the expanded filter. The filter consists of taxonomy terms. Filter output with Panels. On one page it is displayed sorted, but on the other it is not.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Yankovsky, 2014-07-28
@webpavilion

To alter the form, if we are talking about exposed filters views then:
YOUMODULE_form_views_exposed_form_alter(&$form, $form_state) {}
find the desired #options and sort as you like.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question