Hi,

I'm using views_field_view to show a field with a list of child records in the main listing, example:

- Detail 1
- Detail 1 step 1
- Detail 1 step 2
- Detail 1 step 3
- Detail 2
- Detail 2 step 1
- Detail 2 step 2

In the above example, Detail 1 is duplicated 3 times and detail 2 is duplicated 2 times.

I tried everything and can't seem to find a solution. Is this an intended behavior ? And if Yes, how can I obtain the behavior I want ?

Thanks a lot

Comments

ravimane23’s picture

Hi,

Please check that you follow the steps below :

1) Create a sub view which shows all values for eg. In your case create a view which displays all step 1, step 2, step 3, step 4 etc only.
2) Add contextual filter in this view to detail 1.
3) Create a parent view. Click on add option in field selection. Select Global:view -> select sub view created in (#1) above step.

If you need more information let me know.

knalstaaf’s picture

Issue summary: View changes

I'm having a similar issue. The advise (as far as I can comprehend it) didn't work out…

EDIT: this solution worked for me.

narkoff’s picture

I believe I had the same issue. My contextual filters were not set up correctly on the parent and child view. I followed the instruction here (which is subsequently in the readme.txt file).

For me adding Node ID as the contextual filter field in both the parent and child views worked (leaving all other contextual filter settings default).

This issue seems to be a duplicate as well. Cross-posting.