* [task#140197,done,0.1h] fix bug.

This commit is contained in:
sunguangming
2025-03-27 09:32:37 +08:00
committed by 田淑杰
parent 804541653c
commit 3e0986f752
+1
View File
@@ -743,6 +743,7 @@ class projectModel extends model
->beginIF(strpos($params, 'noproduct') !== false)->andWhere('hasProduct')->eq(0)->fi()
->beginIF(strpos($params, 'noclosed') !== false)->andWhere('status')->ne('closed')->fi()
->beginIF(strpos($params, 'nosprint') !== false)->andWhere('multiple')->eq('0')->fi()
->beginIF(strpos($params, 'multiple') !== false)->andWhere('multiple')->eq('1')->fi()
->beginIF(!$this->app->user->admin && strpos($params, 'haspriv') !== false)->andWhere('id')->in($this->app->user->view->projects)->fi()
->fetchPairs();
}