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.
Hello,
I would like to expose the Country field of Address field as a views filter.Is this possible to do this?
thanks
Comments
Comment #1
saurabh.dhariwal CreditAttribution: saurabh.dhariwal at AddWeb Solution Pvt. Ltd. commentedYes, you can do it as follows.
1. Create the filter criteria for country field, by clicking the "Add" button, in the filter criteria box.
2. On the next screen, check the option "Expose this filter to visitors, to allow them to change it. And click "Apply".
Hope this helps you.
Thanks!
Comment #2
bojanz CreditAttribution: bojanz at Centarro commented