Entity suggestion found from URL is not filtered by bundle

Created on 10 January 2025, 11 days ago

Problem/motivation

The entity matches allows to filter by bundle.
This filter is not applied for suggestions found by URL.

Steps to reproduce

  1. Create an article (/node/1).
  2. Configure Linkit's entity matcher as such that only content type Page is allowed.
  3. In the autocomplete textfield, ender /node/1
  4. You'll see a suggestion for the article we just created, but we shouldn't because it's content type is not Page

Proposed resolution

Use the bundle filter as well when matching by URL.

πŸ› Bug report
Status

Active

Version

6.1

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium rp7

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