Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

views_exclude_previous

445 sites Security covered
View on drupal.org

Description

The Views exclude previous module provides a views contextual filter that excludes entities that have already been displayed on the current page before.

This is very useful when you have pages with several embedded views, and you want to make sure that a given entity only appears once in the page.

Example

Say you have a view A which displays the 5 most recent nodes tagged with 'Carrot' ; and a view B which displays the 5 most recent nodes tagged with 'Freedom'. Both views are displayed on the same page (A before B) ; and both have the Views Exclude Previous filter. Then, given a node N tagged with both 'Carrot' and 'Freedom' :

  • If node N is in the 5 most recent entries of both A and B, then it will be displayed for A only
  • If node N is in the 5 most recent entries of B, but not in the five most recent entries of A then it will be displayed for B

Version 3.x

3.x is a completely new modules, that supports all entity types instead of only nodes. There is no upgrade path from previous versions, Views need to be re-configured.

Activity

Total releases
2
First release
Oct 2025
Latest release
6 months ago
Release cadence
18 days
Stability
100% stable

Releases

Version Type Release date
3.0.1 Stable Nov 10, 2025
3.0.0 Stable Oct 23, 2025