Problem/Motivation

When passing View arguments using token values, it could be a single value or multiple values. For example, if you have multiple taxonomy term IDs like NULL/NULL/7876, you will need to pad the empty values with null if they are optional. This will still allow the view to respect the only filter. But if you had NULL/NULL/NULL, then no results will be shown from the view. I was able to solve this issue by setting empty values as 'NULL' and then checking to see if only those values, if only NULL values were defined, then I would just pass along an empty array which allows the view to render content without any contextual filters applied.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

droath created an issue. See original summary.

droath’s picture

Status: Active » Needs review
anybody’s picture

Version: 2.0.x-dev » 2.1.x-dev
Status: Needs review » Needs work

Totally makes sense. Left a comment.