Making WordPress.org

Opened 3 years ago

Last modified 3 years 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 3 years ago.
Category is shown here.
Screenshot 2022-03-03 at 6.51.54 PM.png (887.9 KB) - added by kajalgohel 3 years ago.

Change History (4)

@kajalgohel
3 years ago

Category is shown here.

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

#2 @dd32
3 years ago

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