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.
A basic filter that does not have the "required" option selected results in an empty result set.
To repro:
- Install Drupal 8.0.0 using the Standard profile
- Log in as admin and navigate to
/admin/structure/views/view/content
- Click on the "Content: Type" filter and tick the "Allow multiple selections" option
- Under "Exposed form style" click "Basic"
- Tick "Better Exposed Filters" and "Apply"
- On the next screen, set the "type" filter to checkboxes/radio buttons
- "Apply" and "Save"
- Navigate to
/admin/content
Note: no results shown.
Comments
Comment #2
mikeker CreditAttribution: mikeker as a volunteer commentedComment #3
mikeker CreditAttribution: mikeker as a volunteer commentedSee #2651102: Using checkboxes for exposed filters results in zero rows displaying.
Comment #4
akalata CreditAttribution: akalata commentedConfirming that the patch in #2651102-16: Using checkboxes for exposed filters results in zero rows displaying fixes this issue. Thanks!