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 4d5f0d5 commit 0fe2e47Copy full SHA for 0fe2e47
src/SoftDeleteable/Filter/SoftDeleteableFilter.php
@@ -70,7 +70,7 @@ public function addFilterConstraint(ClassMetadata $targetEntity, $targetTableAli
70
71
$column = $quoteStrategy->getColumnName($config['fieldName'], $targetEntity, $platform);
72
73
- $addCondSql = $targetTableAlias.'.'.$column.' '.(isset($config['deletedValue']) ? '!= ' . $config['deletedValue'] : 'IS NULL');
+ $addCondSql = $targetTableAlias.'.'.$column.' '.(isset($config['deletedValue']) ? '= ' . $config['deletedValue'] : 'IS NULL');
74
if (isset($config['timeAware']) && $config['timeAware']) {
75
$addCondSql = "({$addCondSql} OR {$targetTableAlias}.{$column} > {$platform->getCurrentTimestampSQL()})";
76
}
0 commit comments