diff --git a/src/main/java/org/olat/group/manager/BusinessGroupDAO.java b/src/main/java/org/olat/group/manager/BusinessGroupDAO.java index f767f2d6e7f95673132c9368697c0c3159d542b2..8978b312f4d2981a08cbdf0cfd5a949a063e9cc2 100644 --- a/src/main/java/org/olat/group/manager/BusinessGroupDAO.java +++ b/src/main/java/org/olat/group/manager/BusinessGroupDAO.java @@ -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"); } } diff --git a/src/main/java/org/olat/repository/RepositoryManager.java b/src/main/java/org/olat/repository/RepositoryManager.java index 35a60d12b99f7358e11ad11075811c1a6844765e..ba8cd71d7bc109a5dd6d055685b78126ddb4471d 100644 --- a/src/main/java/org/olat/repository/RepositoryManager.java +++ b/src/main/java/org/olat/repository/RepositoryManager.java @@ -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"); } }