Show only the results of the related content type

Created on 27 October 2022, about 2 years ago
Updated 19 July 2023, over 1 year ago

I configured search autocomplete for my node title field. When I visit any /node/add/[content-type] the title field suggests always all matching node titles while typing.
How can I limit the results to the selected [content-type]?

💬 Support request
Status

Closed: outdated

Version

2.0

Component

Miscellaneous

Created by

🇩🇪Germany drupalbubb

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France Dom.

    I am not sure to understand what you mean by "dynamically limit the results to related [content-type]".
    The results are provided by Views by default. You can twick that views as per your needs, for instance by adding a filter on the content type.
    You can also write a custom callback page to optimize the results as needed using PHP. You just have to provide that particular URL as the callback in the settings.

  • Status changed to Closed: outdated over 1 year ago
  • 🇫🇷France Dom.

    Feel free to re-open if still needed.

Production build 0.71.5 2024