Not displaying when view has Contextual Filters

Created on 1 August 2020, over 4 years ago
Updated 18 December 2024, about 1 month ago

Problem/Motivation

I'm not sure if this issue should be a bug report, feature request or support request.

I've created a view with a contextual filter which doesn't display in a ViewField. The view does work on the nodes when placed as a block but this isn't the desired outcome.

Steps to reproduce

Create a working view that displays results. Then add a contextual filter using the Provide default value type Raw value from URL the Path component's value set to 2

Test the contextual filter by entering a node ID in the View Preview's Preview with contextual filters input field to make sure the data is only relevant to the node ID in its results.

Once you have data in the view preview then add a viewfield to whichever content type you want to display the view in and configure accordingly.

Then go to the node of the ID that had results in the View Preview and the ViewField will not appear at all. There's no label or anything.

🐛 Bug report
Status

Needs review

Component

Code

Created by

🇦🇺Australia the_glitch

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