Skip to content

Commit

Permalink
fix where clase when multiple features are filtered by id (fixes #11336
Browse files Browse the repository at this point in the history
…, fixes #11408)
  • Loading branch information
jef-n committed Oct 15, 2014
1 parent 8429a65 commit d1e23a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -511,7 +511,7 @@ QString QgsPostgresUtils::whereClause( QgsFeatureIds featureIds, const QgsField
whereClauses << whereClause( featureId, fields, conn, pkType, pkAttrs, sharedData );
}

return whereClauses.join( " AND " );
return whereClauses.join( " OR " );
}

QString QgsPostgresProvider::filterWhereClause() const
Expand Down

0 comments on commit d1e23a6

Please sign in to comment.