* [bug#55958,done,0.5h] get my space instead of all space when move doc.

This commit is contained in:
zhouxin
2024-10-16 08:39:08 +08:00
committed by sunhao
parent 73fe5ab194
commit 1bd4e6a47a
+3 -1
View File
@@ -1127,7 +1127,9 @@ class docModel extends model
->where('deleted')->eq(0)
->andWhere('parent')->eq(0)
->andWhere('vision')->eq($this->config->vision)
->andWhere('type')->in('mine,custom')
->andWhere('type', true)->eq('custom')
->orWhere('(type')->eq('mine')->andWhere('addedBy')->eq($this->app->user->account)
->markRight(2)
->fetchAll();
$productPairs = $projectPairs = $spacePairs = array();