Skip to content
Snippets Groups Projects
Commit 66dacd50 authored by srosse's avatar srosse
Browse files

FXOLAT-336: same if to add the and in the query and set the type

parent 50780acd
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ public class CatalogManager extends BasicManager implements UserDataDeletable, I
DBQuery dbQuery = DBFactory.getInstance().createQuery(query.toString());
dbQuery.setLong("parentKey", ce.getKey());
if(type > 0) {
if(type >= 0) {
dbQuery.setInteger("type", type);
}
// cache this query
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment