Don't suggest a reference to the same node

Created on 14 February 2025, 2 months ago

When suggesting "Related Content" where the entity-reference field can reference the same content type as the node itself, it can recommend the node itself in the list of suggestions.

The suggestions should be filtered to remove self-references.

e.g., I have a content type called "Article". It has an entity-reference field for "Related Content" that allows Articles. When I run the AI Auto Reference on a node, the node that I'm editing is listed in the suggestions as the best match. It shouldn't allow this.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mpotter

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024