I try to make a list of user referenced to a specific content including their position.

So here's an excample showing my problem:

I have a content type called "Group" with the enterty reference fields "chairman" and "member".

Now I have the following content:

- Group A
-- Chairman: User A
-- member: User B, User C

- Group B
-- Chairman: User C
-- member: User D, User E

Now I've made a view with the following consitions:

Relationships:

- A bridge to the Content entity that is referencing User via field_chairman
- A bridge to the Content entity that is referencing User via field_member

Filter:

- (chairman) Content: Title (=Group A) OR
- (member) Content: Title (=Group A)

Fields:

- User: Picture

- User: Name
-- special configurations:
--- exclude from display

- (chairman) Content: chairman (Chairman)
-- special configurations:
--- rewrite rules
---- Rewrite the output of this field
----- [name]

- (member) Content: member (Member)
-- special configurations:
--- Show Multiple field settings
---- Display 1 value(s)
--- rewrite rules
---- Rewrite the output of this field
----- [name]

The special confifurations are to make sure for a multi-value field only one name is show and that this is the correct name. Otherwise in every value all names are shown.

The result ist the following:

Group A (as the title):

- (Picture of User A)
- Chairman: User A

- (Picture of User B)
- Member: User B

- (Picture of User C)
- Chairman: User C
- Member: User C

So the "Problem" is, that the results includes the position that "User C" has in "Group B", although the content "Group B" should be filtered out.

Is that a bug, or am I missing something here?

Comments

steiwes’s picture

Category: Support request » Bug report
MustangGB’s picture

Status: Active » Closed (outdated)