WordPress.org

Make WordPress Core

Opened 9 months ago

Last modified 3 months ago

#52893 new enhancement

Not possible to filter by category (and/or date) and by author in wp-admin/edit.php

Reported by: rafaelatias Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords: reporter-feedback
Focuses: Cc:

Description

Hello

The problem

Currently, in the Posts screen (some.url/wp-admin/edit.php) I can filter posts by category and/or date. However, that screen shows posts written by other authors.

Then, if I click on my own author to filter out the posts by different authors, the filter by category and/or date is lost.

Expected behavior

When the user clicks on the author, the Posts screen should show the posts list filtered by category, date AND author as well.

Additional information

In the Posts screen, the link address in my author is some.url/wp-admin/edit.php?post_type=post&author=authorId. So, the filter by author is lost because the actual url parameters for month and category are not being kept in that link address.

However, if in my browser's address bar I add at the end of the url the parameter '&author=' and my author's id, I get the page keeping the filter by category and/or date AND by author as well.

Thus, WordPress knows how to handle this request, but there is no way to do it from the Posts screen UI.

Change History (1)

#1 @sabernhardt
3 months ago

  • Component changed from General to Administration
  • Keywords reporter-feedback added

Hi and welcome to Trac!

Which plugin do you use for the Author filter?

Selecting Date and Author filters together seems to work for me with the Author Filters plugin. Their user ID query variable is author_admin_filter, if that makes a difference.

Note: See TracTickets for help on using tickets.