Opened 2 years ago

Last modified 2 years ago

#16022 reopened enhancement

Search does not look for tags

Reported by: hakre Owned by:
Priority: normal Milestone: Future Release
Component: Taxonomy Version: 3.0
Severity: normal Keywords: has-patch ux-feedback
Cc: WordPress@…

Description

While 3.1 Beta Testing I ran over this:

Ajax search is to search the (paginated) table. The table has tags in it's display. Search is not looking for those.


How to reproduce?

  1. Edit a Post.
  2. Add a new Tag that doesn't exist so far.
  3. Update the Post.
  4. Go to Posts.
  5. Search for the just created Tag.
  6. You get an empty search result.

See #14579 and #15580

Attachments (1)

16022.diff (2.1 KB) - added by greuben 2 years ago.

Download all attachments as: .zip

Change History (15)

Regression? I wasn't aware we ever searched tags.

Same in 3.0.3 for me. (I made sure the post title/content had no similarity to the tag slug)

  • Version changed from 3.1 to 3.0

Regression?

No.

greuben2 years ago

  • Keywords has-patch added

searching for tags doesn't work on front end also

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Not a regression and we already have a 'posts_search' filter.

Related: #16163; #16162

Last edited 2 years ago by hakre (previous) (diff)
  • Resolution invalid deleted
  • Status changed from closed to reopened
  • Type changed from defect (bug) to enhancement

Do you mind explaining why you reopened the ticket?

comment:9 follow-up: ↓ 10   scribu2 years ago

  • Summary changed from Backend Post Ajax search does not look for page tags to Search does not look for tags

As already stated, no search, ajax or not, in the back-end or on the front-end, includes terms, be them tags, categories or a custom taxonomy.

comment:10 in reply to: ↑ 9   hakre2 years ago

Replying to scribu:

Do you mind explaining why you reopened the ticket?

I changed it from Bug to Enhancement (as you wrote it's not a bug), that's why.


Replying to scribu:

As already stated, no search, ajax or not, in the back-end or on the front-end, includes terms, be them tags, categories or a custom taxonomy.

As already stated, the table displays that information. The search above is in context of it. I'm talking about the back-end only, the ajax tables in specific. But probably a UI/UX expert should review this.

Last edited 2 years ago by hakre (previous) (diff)
  • Keywords ux-feedback added
  • Milestone set to Awaiting Review
  • Cc WordPress@… added
  • Component changed from General to Taxonomy
  • Keywords 3.2-early added
  • Milestone changed from Awaiting Review to Future Release

Patch works for me.

  • Keywords 3.2-early removed

Doesn't fit into 3.2. We're trying to make things faster. :)

Note: See TracTickets for help on using tickets.