Description
In the catalog module, when user splits catalog list in two or more and then proceeds to enter next list, instead of being redirected to page 2 he is redirected to page 11. The problem is more general than that. When user is on the page X then he will be redirected to X1 instead of X + 1.
To Reproduce
Steps to reproduce the behavior:
- Go to 'admin/products' or 'admin/categories' or any other component inside catalog module.
- make sure there are enough items for the list to split into two parts or more.
- Click on right arrow with '>' icon in the "Show X per page" bar.
- 11th part of the list is displayed instead of 2.
Screenshots



Background:
- NodeJS 20.10.0
- Postgres 13.12
- ShopMost v1.0.1

- OS: Ubuntu 22.04
- Browser: Chromium
probable cause of error
Somewhere in the code concatenation happens instead of addition.
Description
In the catalog module, when user splits catalog list in two or more and then proceeds to enter next list, instead of being redirected to page 2 he is redirected to page 11. The problem is more general than that. When user is on the page X then he will be redirected to X1 instead of X + 1.
To Reproduce
Steps to reproduce the behavior:
Screenshots



Background:
probable cause of error
Somewhere in the code concatenation happens instead of addition.