Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views Contextual Filters OR

Security covered Maintenance fixes only 11,956 sites

Part of the Views ecosystem · 288 projects

This module modifies how contextual filters in Views work, allowing them to be combined using "OR" logic instead of the default "AND" logic. This can change how your views are displayed by altering the database query.

The module provides a views plugin to modify query of contextual filters. The module can changes contextual filters condition to OR logic.

How does it work?
The default handler of views is replaced. A new option appears under 'Advanced', within 'Query settings'. Contextual filters will execute with an OR condition when you enable this option.

Warning
After enabled this module there's a possibility existing views to break down. It can happen if other modules already have replaced the default handler of views. This module doesn't changes a data in a database.

Known Issues
Issue #3029582 all groups are combined with the OR operator. (search_api)

This module exists because Drupal core still separates contextual filters (arguments) from regular/exposed filters. Follow and help resolve the underlying core issue: #1668024.

Drupal 10–11

Ask your assistant about Views Contextual Filters OR

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jan 2025
Latest release
1 week ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.8 Stable 10–11 Nov 13, 2026
8.x-1.7 Stable 10–11 Nov 3, 2026
8.x-1.6 Stable 10–11 Nov 3, 2026
8.x-1.5 Stable 10–11 Jan 13, 2025