We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1013f7 commit 4b3988dCopy full SHA for 4b3988d
src/models/form/StatusForm.php
@@ -87,7 +87,7 @@ public function saveMetadatas()
87
}
88
$keep[] = $metadata->key;
89
90
- $query = Metadata::find()->andWhere(['workflow_id' => $this->status->workflow_id]);
+ $query = Metadata::find()->andWhere(['status_id' => $this->status->id, 'workflow_id' => $this->status->workflow_id]);
91
if ($keep) {
92
$query->andWhere(['not in', 'key', $keep]);
93
0 commit comments