Stock Export generates error when navigating to last page
Description
To reproduce: 1. go to Products - Stock Management 2. click Export 3. in the Export Stock dialog, click Find 4. click the last page icon to navigate to the last page. An error will be displayed:
There must be greater than 4 pages to trigger the error.
To reproduce:
1. go to Products - Stock Management
2. click Export
3. in the Export Stock dialog, click Find
4. click the last page icon to navigate to the last page. An error will be displayed:
There must be greater than 4 pages to trigger the error.