Skip to content
Snippets Groups Projects

fix #131 and #134 (white spaces in query)

Merged fix #131 and #134 (white spaces in query)
2 unresolved threads
Merged Timm Fitschen requested to merge f-double-white-space into dev
2 unresolved threads
4 files
+ 26
20
Compare changes
  • Side-by-side
  • Inline

Files

@@ -206,7 +206,7 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
}
}
private static boolean filterEntitiesWithoutRetrievePermisions =
private boolean filterEntitiesWithoutRetrievePermisions =
!CaosDBServer.getServerProperty(
ServerProperties.KEY_QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS)
.equalsIgnoreCase("FALSE");
@@ -663,13 +663,15 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
if (this.container != null && this.type == Type.FIND) {
for (final IdVersionPair p : this.resultSet) {
final Entity e = new RetrieveEntity(p.id, p.version);
if (p.id > 99) {
final Entity e = new RetrieveEntity(p.id, p.version);
// if query has select-clause:
if (this.selections != null && !this.selections.isEmpty()) {
e.addSelections(this.selections);
// if query has select-clause:
if (this.selections != null && !this.selections.isEmpty()) {
e.addSelections(this.selections);
}
this.container.add(e);
}
this.container.add(e);
}
}
return this;
Loading