We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User is show to limit to next page http://localhost:1500/categories?page=2&limit=4 but the result only show first pages data query..
router.get('/', function(req, res, next) { models.Category.findAndCountAll({limit:req.query.limit,offset:req.skip}).then(results=>{ const itemCount = results.count; const pageCount = Math.ceil(results.count / req.query.limit); res.render('categories/list', { cats:results.rows, pageCount, itemCount, pages:paginate.getArrayPages(req)(3, pageCount, req.query.page) }); }); });
The text was updated successfully, but these errors were encountered:
Hi,
I also have the same issue. Did you resolve the above issue or found any solution??
Sorry, something went wrong.
PR welcome if it is a bug
No branches or pull requests
User is show to limit to next page
http://localhost:1500/categories?page=2&limit=4
but the result only show first pages data query..
The text was updated successfully, but these errors were encountered: