This module allows contextual filters in views to use data from the referring URL, which is useful for AJAX requests like filtered entity reference fields. It provides options similar to existing contextual filters but sources information from the HTTP referer header.
This project aims to be the solution for applying contextual filters to views that are executed during AJAX requests, such as entity reference fields that are filtered by a view. Just enable the module, and use one of the two options provided in the picture, just as you would their counterparts. These options will get the necessary data from the referer URL in the headers, rather than the current URL.
This is a full project that has been created from an unmaintained sandbox project.
Ask your assistant about Contextual Filter from Referer
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.