Opened 14 years ago
Closed 10 years ago
#16162 closed defect (bug) (fixed)
Pagination and sorting reset after bulk media deletion
Reported by: | hakre | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Administration | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description (last modified by )
When doing Bulk Deletes on paginated Media Library, after performing the delete, I'm back on page 1 regardless on which page I've been before.
Attachments (3)
Change History (25)
#2
@
14 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 3.1
- Owner set to scribu
- Status changed from new to reviewing
Same for categories and tags page. If we have it for posts and comments (#15416), we should add it with the other pages too.
#4
@
14 years ago
It does not reflect the sort column as well.
paged
is part of the request, orderby
and order
are not.
#5
@
14 years ago
The patch preserves paged for bulk media deletes. sorting is not preserved as it does not gets passed in the request.
The idea I had so far is to add hidden form fields or to change the forms action attribute when things are changed by javascript.
The only hotfix I know of so far is to disable javascript which makes one of the biggest improvements of 3.1 looking pretty reduced.
#6
@
14 years ago
- Description modified (diff)
- Summary changed from Bulk Actions and Pagination: Page Lost to Pagination and sorting reset after bulk media deletion
#9
@
14 years ago
- Keywords needs-patch added; has-patch removed
Noting that ocean90 was also able to reproduce this against edit-tags.php. A few of us were looking at this today (MarkJaquith in particular) and pagination was inconsistent across a number of screens.
#12
@
14 years ago
My patch over here also fixes pagination and sort reset for edit-tags, edit-comments, edit .
garyc40.16166.2.diff
Perhaps we should merge this ticket and #16166?
#14
@
14 years ago
- Milestone 3.1 deleted
- Resolution set to duplicate
- Status changed from reviewing to closed
Combining this, as the patch over on 16162 should fix this once it's applied to the rest of the list tables.
Duplicate of #16162
#15
@
14 years ago
#16
@
13 years ago
This is still an issue and imo shouldn't be merged with the ajax ticket. Any resolution to this
#17
@
13 years ago
- Milestone set to Future Release
- Resolution duplicate deleted
- Status changed from closed to reopened
Yeah, need to handle this either way.
#19
@
11 years ago
- Keywords has-patch added; needs-patch removed
This has been fixed for the Edit Media list, but is still a problem on the tags and categories page.
This is because the <form>
's method attribute is set to post
, rather than get
, which ends up throwing off wp_get_referer()
, losing the paged
parameter in the link. attachment:16162.diff fixes the form method.
Related: #15416