diff --git a/model/Versioned.php b/model/Versioned.php index 7fab016e5..61c33dc1e 100644 --- a/model/Versioned.php +++ b/model/Versioned.php @@ -203,6 +203,7 @@ class Versioned extends DataExtension { // below) $dataQuery->setQueryParam('Versioned.mode', 'stage'); $this->augmentSQL($query, $dataQuery); + $dataQuery->setQueryParam('Versioned.mode', 'stage_unique'); // Now exclude any ID from any other stage. Note that we double rename to avoid the regular stage rename // renaming all subquery references to be Versioned.stage