No filter options with filter "Required" or "Input required"

Created on 17 August 2020, almost 4 years ago
Updated 19 April 2024, about 2 months ago

Problem/Motivation

When you select the "Input required " at "Exposed Form" or when you "Required" the filter then the options for that filter will be empty.

Steps to reproduce

Create a Node type.
Add a taxonomy field to the node.

Create a View.
Add a taxonomy field (field_groep_tax in my case)
Add a selective taxonomy filter (field_groep_tax in my case).
Select the "Required" checkbox.
Save the view.

In the admin view you will get this message "Selective query filter must have corresponding field added to view with Administrative Name set to "Content: Node (field_groep_tax) (selective)" and Base Type "field_groep_tax"".

When you visit the page you see no content with the "field_groep_tax" filter with empty options.

Proposed resolution

When no filtering is selected it should show all available options.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands belthazorjk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

    I think I just confirmed this with just the Tags field on Article in a fresh install.

    I can't even save the view when making it "Required"

    No valid values found on filter: Content: Tags.

  • Status changed to Fixed 2 months ago
  • πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

    I'm not exactly sure what fixed it but there was some major refactoring in 777c0f36dd5ecf2c57dbc739c3f8a1c14e59cc93 from bmcclure's fork so likely have them to thank.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024