Opened 3 years ago
Last modified 3 years ago
#6161 new defect (bug)
Unable to search for Categories
Reported by: | kajalgohel | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Photo Directory | Keywords: | needs-patch has-screenshots |
Cc: |
Description
In the photo section page(https://wordpress.org/photos/), when we trying to search by categories, It is not working properly. I tried to search with objects, arts-culture, animals category name but it's not working.
For better understanding I provide the video link and screenshots.
https://www.loom.com/share/d23f0f026bb3458a9e9f5e43a55a8573
Attachments (2)
Change History (4)
#1
@
3 years ago
- Priority changed from high to normal
Hi! Thanks for bringing up the issue. It was intentional that categories were not included in search. There are only a handful of them and they are quite broad. You'd be just as well off simply navigating to the archive of the desired category.
The Photo Directory uses the built-in WordPress search, so in general it is quite simplistic and limited in what it can do.
That said, there's no real harm in allowing categories to be included in the search.
Or perhaps we just need to surface the link to the category listing, as well as the tags listing, colors listing, and orientations listing that I think currently only appear when a search fails to return any results (as seen in the second screenshot).
Category is shown here.