Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using an exposed filter in a view. In my vocabulary there are provinces and towns. In the filter, I want let the user to choose any of both. So, the two dropdowns have a blank option. The first time I select a province and leave the town blank, the filter works right. But if I filter by town, and later I select the blank option of towns, then the filter doesn't work. The page is refreshed and it returns to the previous status, where a town is selected and its result is shown.
Any help please?
Comments
Comment #1
udane CreditAttribution: udane commentedI have realized that it works well in the live preview of view's edit page. What can be the problem?
Thanks.
Comment #2
udane CreditAttribution: udane commentedI found the solution. If Ajax is enabled, it works right.
Thanks!
Comment #3
kenorb CreditAttribution: kenorb commentedComment #4
Gold