Making WordPress.org

Opened 7 months ago

Last modified 7 months ago

#6161 new defect (bug)

Unable to search for Categories

Reported by: kajalgohel's profile 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)

Screenshot 2022-03-03 at 6.50.21 PM.png (3.1 MB) - added by kajalgohel 7 months ago.
Category is shown here.
Screenshot 2022-03-03 at 6.51.54 PM.png (887.9 KB) - added by kajalgohel 7 months ago.

Change History (4)

@kajalgohel
7 months ago

Category is shown here.

#1 @coffee2code
7 months 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).

#2 @dd32
7 months ago

  • Summary changed from Search issue found to Unable to search for Categories
Note: See TracTickets for help on using tickets.