Answer the question
In order to leave comments, you need to log in
How to make such a filter on Drupal?
How to make such a filter on Drupal?
www.arendasib.ru/ru/orders
Answer the question
In order to leave comments, you need to log in
If you change the filter values and click "Find", you will notice that there are parameters in the address bar.
Further, these parameters can be used in the opened filters of the Views module.
Well, or if you like to write by hand (as I do in one of the projects), then you can:
1) Get these parameters using the drupal_get_query_parameters() function;
2) Use each parameter when selecting nodes using the entityFieldQuery() class;
In this case, each parameter can be used with ->fieldCondition.
Read how it works here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question