For example:
I built one node for each staff. "node title" is the staff name, and there are some other content, such as photos and presentations.

Now I need to build a new project and assign staffs to the project, then I need to refer "staff node" in "project node". When choose staffs, I need staff names and photos. Because sometimes there are duplicate names, I need to see the photos also. Thus, I need at least two fields, title and photo.

At present, I tested (8.0.0, 8.0.2, 8.0.3, 8.1.x-dev) versions. In these versions, I added more fields in "views Entity Reference", but only displayed one "title field" field.

steps:
a.) I added two fields in "views---Entity Reference", "Content: Image" and "Content: Title"(see picture 01), which can be displayed normally in views Preview. You can see the Image and Title. (See the left corner of picture 01)
b.) In "Plans" content type, I added the refered "Entity Reference", but only displayed Title, no Image. (see picture 02)
c.) In "Add Plans" node form , only displayed Title, no Image. (see picture 03a)
d.) Attached a picture of drupal 7.41,there are two fields can be displayed normally (see picture 05), and were displayed as inline.

It can be worked out in D7. Can D8 work the same as D7?

CommentFileSizeAuthor
#6 03a.PNG58 KBbrightbai
05.PNG89 KBbrightbai
03.PNG62.25 KBbrightbai
02.PNG53.32 KBbrightbai
01.PNG92.61 KBbrightbai

Comments

brightbai created an issue. See original summary.

brightbai’s picture

Issue summary: View changes
dawehner’s picture

Category: Bug report » Feature request

Well, as far as I can tell, this is more about a missing feature than about a bug to be honest.

danisha’s picture

This issue seems to be not related to views core module. This is not a minor issue but a functionality which is missing from the entity reference module.

dawehner’s picture

Well, yeah, I think it was never promised to port over all available features :)

brightbai’s picture

Issue summary: View changes
StatusFileSize
new58 KB
brightbai’s picture

The 03.PNG is wrong, change to 03a.PNG.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

mrpeanut’s picture

Status: Active » Closed (duplicate)