WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#19452 closed defect (bug) (fixed)

Search behavior with filters is inconsistent

Reported by: chexee Owned by: ryan
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.3
Component: Administration Keywords: has-patch commit
Focuses: Cc:
PR Number:

Description

If you search from within a Post or Page filter, the returned search results are from within that filter.

For example, if you click on the "Drafts" filter and use the searchbox, the search results will only return results within "Drafts".

When searching Media, search results always return all results within Media, regardless of filter. If I click the "Images" filter and use the searchbox, it returns search results from all media.

Attachments (1)

19452.diff (930 bytes) - added by helenyhou 8 years ago.
Add post_mime_type and detached for the media library

Download all attachments as: .zip

Change History (6)

@helenyhou
8 years ago

Add post_mime_type and detached for the media library

#1 @chexee
8 years ago

  • Keywords has-patch added

19452.diff wfm :)

#2 @voyagerfan5761
8 years ago

  • Cc WordPress@… added

#3 @helenyhou
7 years ago

  • Milestone changed from Future Release to 3.5

#4 @helenyhou
7 years ago

  • Keywords commit added; ux-feedback removed

Let's do it? Consistency is good.

#5 @ryan
7 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [21750]:

Remove the filter setting when searching media. Props helenyhou. fixes #19452

Note: See TracTickets for help on using tickets.