Hi,
I'm migrating D7 to D9 and recreating view for articles. In D7 in relationship for the multiple value field I have delta option that allows me to choose the very 1st value. In D9.3 when I'm adding relationship with the same field there is no delta option available causing the article with multiple authors to appear multiple times - see the image attached. It only 1st one should appear if delta is set to 1.

The view export yml is also attached.

Could someone point me in the right direction, please?
Thank you!

Comments

gennadiy created an issue. See original summary.

lendude’s picture

Status: Active » Closed (works as designed)
StatusFileSize
new203.42 KB

If the field you are showing is a normal field created through the UI (not a base field), you shouldn't need to add a releationship, the field settings should allow you to do what you need without leading to duplicates

Is that what you were looking for?

gennadiy’s picture

There are 2 different types of nodes involved: Article and Author.
Author has 2 fields of interest: Name and Degrees.
Inside the Article Author field is defined as an entity reference:

Author(s) field_op_author Entity reference

So relationship is for the adding Degrees for the 1st author, so it all reads like this:

Ted Findlay DO, CCFP et al.

where "Ted Findlay" is Name, "DO, CCFP" is Degrees and "et al." is added in case it's more than 1 author.