[5.x]: Asset search doesn't find results
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
When searching for an asset, 0 results are returned when there are assets that match the search.
I haven't been able to reproduce on all instances of Craft so let me know what additional info you need.
Steps to reproduce
Perform search in the Assets admin or when selecting an asset on an entity.
Expected behavior
Show matching results.
Actual behavior
No results.
Craft CMS version
5.9.5
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
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
Start by reproducing the asset search from the Assets admin and while selecting an asset on an entity, using Craft CMS 5.9.5. Compare cases where matching assets return zero results, then verify that searches return the expected matching assets; the issue does not identify files or tests to begin with.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100