The dummy field doesn't currently let you select relations for which the node's entity type is a target.

Attached is a very rough patch that works for me.

For review:

  • Do we care about cases where a given entity type can appear as either a source or a target; and where the user only wants to display one of these?
  • What's the best layout/terminology? Is source/target code-only terminology, or is it ok to use for user-facing?

Comments

naught101’s picture

Status: Active » Needs review
naught101’s picture

Use reverse label:

naught101’s picture

Status: Needs review » Fixed

Committed a quick fix in 42c9fb1. This won't work for relations where both directions are available but only one direction is desired, but at least it gets the targets that were missing before. I didn't want to do anything more complex because it might decrease performance (more select queries). See the TODO comment in code.

Status: Fixed » Closed (fixed)

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