1

prepare search optimization

Co-authored-by: Christoph <tobi@urpost.de>
This commit is contained in:
Christoph
2020-03-20 16:00:07 +01:00
parent c1ce06d60f
commit 8d0c3987d2
2 changed files with 13 additions and 3 deletions

View File

@ -123,7 +123,9 @@ public class GroupService {
*/
public List<Group> findGroupWith(String search, Account account) throws EventException {
List<Group> groups = new ArrayList<>();
for (Group group : getAllGroupWithVisibilityPublic(account.getName())) {
if (group.getType() == null) {
continue;
}

View File

@ -0,0 +1,8 @@
package mops.gruppen2.service;
import org.springframework.stereotype.Service;
@Service
public class SearchService {
}