* Fix display deleted pivot in preview.

This commit is contained in:
qixinzhi
2023-11-23 19:12:18 +08:00
parent 5fdf06f66e
commit ef0b2acac4
+1
View File
@@ -101,6 +101,7 @@ class pivotZen extends pivot
$pivots = $this->dao->select('*')->from(TABLE_PIVOT)
->where("FIND_IN_SET($group->id, `group`)")
->andWhere('stage')->ne('draft')
->andWhere('deleted')->eq('0')
->orderBy('id_desc')
->fetchAll();
if($pivots)