@ -123,7 +123,9 @@ public class GroupService {
|
|||||||
*/
|
*/
|
||||||
public List<Group> findGroupWith(String search, Account account) throws EventException {
|
public List<Group> findGroupWith(String search, Account account) throws EventException {
|
||||||
List<Group> groups = new ArrayList<>();
|
List<Group> groups = new ArrayList<>();
|
||||||
|
|
||||||
for (Group group : getAllGroupWithVisibilityPublic(account.getName())) {
|
for (Group group : getAllGroupWithVisibilityPublic(account.getName())) {
|
||||||
|
|
||||||
if (group.getType() == null) {
|
if (group.getType() == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
8
src/main/java/mops/gruppen2/service/SearchService.java
Normal file
8
src/main/java/mops/gruppen2/service/SearchService.java
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
package mops.gruppen2.service;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class SearchService {
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user