Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

The filter provided by this module exclude nodes (or another content) from a view, by excluding the results of one view from another one. This allows you to filter a view results by another view.

Frequently two views, or two displays of one view, occur on the page together. One common example is a listing of content with a few curated items selected via more specific criteria. It's simple enough to create two displays and show the curated one above the general listing. This presents a problem: content that appears in the curated list needs to somehow be excluded from the general listing.

Basic usage

  1. Install the module under sites/all/modules/contrib or sites/all/modules
  2. Enable the module
  3. In the view from which you wish exclude items, add filter "Other view result"
  4. In filter settings choose "view & display" whose output you want to exclude from the current view
  5. Save the view.

Hint

To minimize the cost to performance of running multiple views queries, the number of instances of this filter on the same display should be kept to a minimum and caching should be employed liberally. Views Content cache and Cache Actions are helpful for this.

Using more than 1 view for filtering will strongly decrease your site performance. To minimize performance decreasing use simple and cached views.

Requirements

Installation

  1. Install the module under sites/all/modules/contrib or sites/all/modules
  2. Enable the module

Similar modules

  • Views Exclude Previous

    Attempts to determine what content has already been loaded on thep age, whether by views or by some other method, and exclude that from the current view

  • Views Pipes (sandbox)

    Does some fancy stuff with contextual filters and configuration settings

  • Views Field View

    Similar concept to this, but using a field handler rather than filter handler, allowing you to embed a view as a field in a view.

  • Views Filter View (sandbox)

    Very similar.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jul 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-1.3 Stable Jul 6, 2023