WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Owned by: 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 4 years ago.

Download all attachments as: .zip

Change History (5)

blepoxp4 years ago

comment:1 blepoxp4 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.

comment:2 scribu4 years ago

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

comment:3 scribu4 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

comment:4 nacin4 years ago

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