You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
In the catalog module, it is possible to put 0 in the "Show per page" bar. Application the shows either Infinity or NaN depending on if there is any element in the catalog. This bug is present in all submodules (products, categories, collections, attributes).
To Reproduce
Steps to reproduce the behavior:
Go to '/admin/products' or any other submodule of catalog.
Input 0 into 'Show per page'.
All elements disappear and there is Infinitely many pages (or NaN).
Expected behavior
Application should not let user put 0 into the box.
Screenshots
Background (please complete the following information):
NodeJS 20.10.0
Postgres 13.12
ShopMost v1.0.1
OS: Ubuntu 22.04
Browser Chromium
The text was updated successfully, but these errors were encountered:
Description
In the catalog module, it is possible to put 0 in the "Show per page" bar. Application the shows either Infinity or NaN depending on if there is any element in the catalog. This bug is present in all submodules (products, categories, collections, attributes).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Application should not let user put 0 into the box.
Screenshots


Background (please complete the following information):
The text was updated successfully, but these errors were encountered: