Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: Fix Versioned's stage_unique mode on PostgreSQL.

  • Loading branch information...
commit 87685eefdd9689df9947e031036e09f132b63d62 1 parent ed0341e
@sminnee sminnee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  model/Versioned.php
View
2  model/Versioned.php
@@ -208,7 +208,7 @@ function augmentSQL(SQLQuery &$query, DataQuery &$dataQuery = null) {
$tempName = 'ExclusionarySource_'.$excluding;
$excludingTable = $baseTable . ($excluding && $excluding != $this->defaultStage ? "_$excluding" : '');
- $query->addWhere('"'.$baseTable.'"."ID" NOT IN (SELECT ID FROM "'.$tempName.'")');
+ $query->addWhere('"'.$baseTable.'"."ID" NOT IN (SELECT "ID" FROM "'.$tempName.'")');
$query->renameTable($tempName, $excludingTable);
}
break;
Please sign in to comment.
Something went wrong with that request. Please try again.