The QueryBuilder now loads the defaults of the query

This commit is contained in:
mathias 2021-08-26 17:04:49 +02:00
parent 405f405174
commit a3e97cda44
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A

View File

@ -17,6 +17,7 @@ public class QueryBuilder {
public QueryBuilder(Class<? extends AbstractQuery> queryType) {
try {
query = queryType.newInstance();
query.defaults();
} catch (Exception e) {
LOG.error("Could not initialize query: " + e.getMessage());
}