* Fix task #99283, bug #36102.

This commit is contained in:
tanghucheng
2023-08-01 17:23:35 +08:00
parent a19514c50e
commit cc2f591dd8
+1 -1
View File
@@ -2194,7 +2194,7 @@ class block extends control
$involveds = $this->product->getOrderedProducts('involved');
$productIdList = array_merge(array_keys($products), array_keys($involveds));
$stmt = $this->dao->select('id,product,lib,title,type,addedBy,addedDate,editedDate,status,acl,groups,users,deleted')->from(TABLE_DOC)->alias('t1')
$stmt = $this->dao->select('id,product,lib,title,type,addedBy,addedDate,editedDate,`status`,acl,`groups`,`users`,deleted')->from(TABLE_DOC)->alias('t1')
->where('deleted')->eq(0)
->andWhere('product')->in($productIdList)
->orderBy('product,status,editedDate_desc')