Arguments should be provided for replacement pattern and global token replacement even if view results are empty

Created on 9 May 2020, about 5 years ago
Updated 28 May 2025, 16 days ago

The views arguments can be used in a view, typically in Global Text for a header or footer, if the checkbox is checked and there is at least one row in the result. This allows something like {{ arguments.nid }} to be used to generate a URL for a hyperlink.

Unfortunately, these values are not available if the query results in an empty list. {{ arguments.x }} and {{ raw_arguments.x }} should be available regardless of whether the checkbox is check or if the query results are empty.

This would also allow the arguments to be used in the No Results Behavior.

✨ Feature request
Status

Closed: outdated

Version

11.0 πŸ”₯

Component

views.module

Created by

πŸ‡ΊπŸ‡ΈUnited States bwong

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024