Fixes #3815 -- Always switch to page 1 when showing all records.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-02-14 11:23:57 -06:00
parent 350d3ce97c
commit 66eab20066
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ export default {
} else {
if (this.paginated) {
queryParams.rowCount = ctx.perPage;
queryParams.current = ctx.currentPage;
queryParams.current = (ctx.perPage !== 0) ? ctx.currentPage : 1;
} else {
queryParams.rowCount = 0;
}