This commit is contained in:
liumengyi
2022-05-19 15:39:10 +08:00
parent 8c4931f287
commit 47ec417f16
+1
View File
@@ -2761,6 +2761,7 @@ class bugModel extends model
->orWhere('t2.spec')->like("%$searchValue%")
->orWhere('t2.verify')->like("%$searchValue%")
->fetchPairs('id');
if(empty($story)) $story = array(0);
$bugQuery = preg_replace("/`story`[ ]+(NOT[ ]*)?LIKE[ ]+'%$searchValue%'/Ui", '`story` $1 IN (' . implode(',', $story) .')', $bugQuery);
}