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

OO-623: fix 2 metamorphic queries

parent 09db77e4
No related branches found
No related tags found
No related merge requests found
......@@ -477,9 +477,9 @@ public class BusinessGroupDAO {
if(params.getManaged() != null) {
where = where(query, where);
if(params.getManaged().booleanValue()) {
query.append("bgi.managedFlags is not null");
query.append("bgi.managedFlagsString is not null");
} else {
query.append("bgi.managedFlags is null");
query.append("bgi.managedFlagsString is null");
}
}
......
......@@ -1637,9 +1637,9 @@ public class RepositoryManager extends BasicManager {
if(params.getManaged() != null) {
if(params.getManaged().booleanValue()) {
query.append(" and v.managedFlags is not null");
query.append(" and v.managedFlagsString is not null");
} else {
query.append(" and v.managedFlags is null");
query.append(" and v.managedFlagsString is null");
}
}
......
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