Allow all entries to be searched when limiting entry sources for entry fields
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
Currently, you can only search all entries when adding an entry to an entries field when All sources are available. As soon as you limit the available sources, you can only select and search within each of the limited sources.
We need to be able to limit entry sources to prevent users from selecting entries that are used for relational data and don't have public URLs. We'd like to do this without making it more difficult to quickly find and add a desired entry.
Ideally, you'd still be able to search from all of the limited number of sources.
Steps to reproduce
- Create an entry field with a few sources available. (Not all)
- Add field to a section.
- Add an entry to the field and attempt to search.
- Compare to entry field with all sources available.
Additional info
- Craft version: 3.0.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in an entries field configured with several, but not all, available sources, then compare its search behavior with a field allowing all sources. Trace the entries-field source selection and search entry points; done means searches cover all limited sources while selection remains restricted to those sources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100