Arguments not passed to filter when exposed as Content Pane

Created on 7 August 2014, over 10 years ago
Updated 23 April 2025, 9 days ago

When using exposed filters as pane configuration for a "Content Pane" (from the 'views_content' module in CTools), the "Suggestions depend on other filter fields" feature is ignored (ie. it doesn't take the value of the other filters into account).

The reason is that it puts the exposed filters are under array('exposed' => array(...)) rather than at the top-level.

Steps to reproduce:

  1. Install Views, Panels, Views content panes
  2. Create a View with a "Content Pane" display and two exposed filters: Title and Content Type
  3. Title has both "Use Autocomplete" and "Suggestions depend on other filter fields" enabled
  4. Under Pane Settings in Views, click "Allow settings" and enable "Use exposed widgets form as pane configuration"
  5. Now, add this "View pane" to a Panel - you'll see the exposed filters in the "Add content" dialog
  6. The Title autocomplete doesn't take the Content Type filter into account!

Proposed resolution

Detect when we are in a "Content Pane" and move the exposed filters up to the top-level so that views_autocomplete_filters can find them!

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇨🇦Canada mgrim

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.

  • 🇷🇴Romania vasike Ramnicu Valcea

    As Drupal 7.x and also modules 7.x versions "ended their lives", closing the 7.x issues.

    And thanks for participating and using the module.

    p.s. if this still an issue on the latest 2.x version, please feel free to re-open and update the version accordingly.

Production build 0.71.5 2024