From 0f311a2e2beddf6c863355deff56e9112741e845 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Mon, 20 Jun 2022 15:25:18 +0800 Subject: [PATCH] * Fix recTotal of product list. --- api/v1/entries/products.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/entries/products.php b/api/v1/entries/products.php index 15e85dc3db..afc5942502 100644 --- a/api/v1/entries/products.php +++ b/api/v1/entries/products.php @@ -55,7 +55,7 @@ class productsEntry extends entry else { $control = $this->loadController('product', 'all'); - $control->all($this->param('status', 'all'), $this->param('order', 'order_asc')); + $control->all($this->param('status', 'all'), $this->param('order', 'order_asc'), 0, 0, $this->param('limit', '20'), $this->param('page', '1') ); /* Response */ $data = $this->getData();