ng-admin icon indicating copy to clipboard operation
ng-admin copied to clipboard

Page reload goes back to first page

Open tomy2105 opened this issue 8 years ago • 1 comments

Prerequisites

I'm running latest version of code from github.

Description

If on list view and on second page and filters are defined (doesn't matter if they are present or not) and page is reloaded we get switched to first page.

Steps to Reproduce

http://embed.plnkr.co/mHBjj4gCKQHD2dNySwTW/

Go to users page in preview. Press next to go to second users page. After second page is displayed press refresh live preview button.

Expected behavior: Second page is displayed.

Actual behavior: First page is displayed.

I think this was introduced with https://github.com/marmelab/ng-admin/pull/1366 because updateFilters which starting with this pull is invoked on load/reload sets page to 1.

tomy2105 avatar Nov 24 '17 16:11 tomy2105

It seems that v1.0.7 introduced this bug.

lwzm avatar Aug 23 '18 11:08 lwzm