From e30e3f81d3a01caac2bf4523b40d884a9ba48987 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 2 Mar 2022 15:25:33 +0800 Subject: [PATCH] * Fix bug#20268. --- module/product/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/model.php b/module/product/model.php index b91ee6082a..7128690b9b 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -360,7 +360,7 @@ class productModel extends model ->andWhere('t2.vision')->eq($this->config->vision) ->beginIF(strpos($status, 'noclosed') !== false)->andWhere('t2.status')->ne('closed')->fi() ->orderBy($orderBy . 't2.order asc') - ->fetchAll('id'); + ->fetchAll(); $products = array(); foreach($projectProducts as $product)