Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14150 closed defect (bug) (fixed)

Post filters on edit.php are not shown if a combination of them results in no posts

Reported by: nacin's profile nacin Owned by: scribu's profile scribu
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: JavaScript Keywords: has-patch dev-feedback
Focuses: Cc:

Description

If you select a month that has posts and a category that has posts, but no posts fit both filters, then all filters go away and you get the not found message.

In the case where filters are applied, you should continue to see the filters. (Bulk actions and the empty table can still be hidden.)

This was standardized in [13100] but that did not cause the usability issue here.

Attachments (1)

14150.diff (775 bytes) - added by blepoxp 14 years ago.

Download all attachments as: .zip

Change History (5)

@blepoxp
14 years ago

#1 @blepoxp
14 years ago

  • Component changed from General to JavaScript
  • Keywords has-patch dev-feedback added; 2nd-opinion ux-feedback removed

The attached diff adds the filters to views with no post results. Additionally, it fixed a problem where the filters were not being implemented if JS was deactivated.

#2 @scribu
14 years ago

  • Owner set to scribu
  • Status changed from new to accepted

#3 @scribu
14 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [15511]) Show dropdowns filter even when JS is disabled. Props blepoxp. Fixes #14150

#4 @nacin
14 years ago

  • Milestone changed from Awaiting Review to 3.1
Note: See TracTickets for help on using tickets.