When creating a view based on submissions I cannot select the field submitted to Title.

The relationship of SID does not pickup the referenced entity title. Basically I want to create a view of all the submissions for webform (a), and I also show all of the referenced node titles.

Very similar to the default view in webform results: admin/structure/webform/manage/XYZNAMEWEBFORM/results/submissions

CommentFileSizeAuthor
#2 2931279-submitted-to-2.patch10.97 KBbucefal91

Comments

kclarkson created an issue. See original summary.

bucefal91’s picture

StatusFileSize
new10.97 KB

Hello!

Here is the patch that introduces the 2 extra fields:

  • Submitted to: Entity label - prints the label of the source entity with an optional checkbox to output it as a link to the source entity
  • Submitted to: Rendered entity - renders in the default view mode the source entity

Both fields will output nothing if there is no source entity associated with a webform submission.

bucefal91’s picture

Status: Active » Needs review

Just apply the patch and clean your caches to kick in.

kclarkson’s picture

Status: Needs review » Reviewed & tested by the community

@brucefal91

You are awesome and I want to buy you a beer at DrupalCon :)

The patch worked and I am now able to create a view with the title of the webform by selecting: Submitted to: Entity label - prints the label of the source entity with an optional checkbox to output it as a link to the source entity.

Marking as RTBC!

  • bucefal91 committed 04ed0d1 on 8.x-5.x
    Issue #2931279 by bucefal91: Introducing 'Submited to: Entity label' and...
bucefal91’s picture

Status: Reviewed & tested by the community » Fixed

Thank you, man! :) I've committed it.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.