Problem/Motivation

hi
identical variables names are generated in BR from a view with relationship using same field twice

Steps to reproduce

Suppose we wanted to create a BR loops that will use result of a view (that previously have been configured)

- The view's configuration is going to display fields of - a nodeA that has a renference field to a nodeB

- in my view, i wanted to display content type's name of both node A and node B. This mean that i need to configure relationship to be able to display the Content type's name of nodeB.

- in view, twig's field name for content type of nodeA will be {{ title }} and variable generated by result of view in BR will be {{ myviewdisplayname->title }}

For me this logically mean that for nodeB in view that have {{ title_1 }}, in BR it is going to be {{ myviewdisplayname->title_1 }}

But right now in BR for both content type name variable are the same :
{{ myviewdisplayname->title }}
bug image

Proposed resolution

is it not possible to have in BR {{ myviewdisplayname->title }}
and {{ myviewdisplayname->title_1 }} as result ?

Thanks

Comments

delacosta456 created an issue. See original summary.

delacosta456’s picture

Issue summary: View changes
delacosta456’s picture

Issue summary: View changes
delacosta456’s picture

Component: Code » Plugins
delacosta456’s picture

Title: identical variables names are generated in BR from a view with relationship using same field twice » identical variables names are generated in BR from in views with relationship using same field twice
delacosta456’s picture