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.
When using another database connection not connected to the "default" settings the selective filter fails to execute a query on tables defined in hook_views_data
A patch has been created to modify _views_filter_selective_query to handle any queries relying on hook_views_data with a base database defined for the table field.
This solved my issue for selective filters to work on another database connection besides default.
Comment | File | Size | Author |
---|---|---|---|
views_hacks-views_filters_selective-base_database_defined_query_issue.patch | 868 bytes | psibrtyger |
Comments
Comment #1
infojunkieCommitted to latest dev. Thanks!