Defect #852
closed
Pagination is not refreshed, when record is removed
Added by Patrik Stloukal about 7 years ago.
Updated about 7 years ago.
Description
If record on last page of agenda are removed, it shows message "No results found", but number of page disappear and you cannot go to previous page only with refresh.
- Subject changed from Issue in pageing of system agenda to Pagination is not refreshed, when record is removed
- Description updated (diff)
- Category changed from Systems to Frontend
- Assignee changed from Ondřej Kopr to Patrik Stloukal
- Priority changed from Normal to Low
- Estimated time set to 4.00 h
This is known issue, this doesn't work on all tables. Can you pls fix it?
Possible solution: decrement selected page, if last record on page is removed (see clear and use filter how to work with SearchProperties and redux state).
- % Done changed from 0 to 90
I implemented solution:
if current page is out of range, after entities deletion, then page will be calculated to last page.
- Status changed from New to Closed
- Assignee changed from Patrik Stloukal to Radek Tomiška
- Target version set to Garnet (7.7.0)
- % Done changed from 90 to 100
I did review and moved logic into table pagination, it will work for all tables.
It's merged into develop.
Also available in: Atom
PDF