Opened 5 weeks ago
Closed 5 weeks ago
#64815 closed defect (bug) (duplicate)
Categories and Tags: .tablenav (item count/pagination) does not update after AJAX add/delete
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Taxonomy | Keywords: | |
| Focuses: | ui | Cc: |
Description
Description
On the "Categories" and "Tags" screens, when adding or deleting items via AJAX, the .tablenav elements (specifically the total item count and pagination links) do not update dynamically.
The UI remains stale, showing the previous number of items and the old pagination state until the page is manually refreshed.
Steps to Reproduce
- Navigate to Posts > Categories (or Tags).
- Note the total item count in the top-right or bottom-right
.tablenavarea. - Add a new category or delete an existing one.
- Observe that while the list itself updates, the "X items" count and pagination links in
.tablenavremain unchanged.
Expected Behavior
The .tablenav counters and pagination should refresh via AJAX to reflect the current state of the taxonomy list after an addition or deletion.
Environment
- Plugins: Tested with all plugins deactivated and a default theme (Twenty Twenty-Five).
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
6 tags counted as 3