diff options
Diffstat (limited to 'src/main/java/com/juick/service/PostgresSearchService.java')
-rw-r--r-- | src/main/java/com/juick/service/PostgresSearchService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/PostgresSearchService.java b/src/main/java/com/juick/service/PostgresSearchService.java index 79986670..a243b3f3 100644 --- a/src/main/java/com/juick/service/PostgresSearchService.java +++ b/src/main/java/com/juick/service/PostgresSearchService.java @@ -61,7 +61,7 @@ public class PostgresSearchService extends BaseJdbcService implements SearchServ public List<Integer> search(final int visitorId, final int userId, final String searchString, final int page) { - var usersFilter = userService.getUserBLUsers(visitorId).stream().map(User::getUid).toList(); + var usersFilter = userService.getUserIgnoredUsers(visitorId).stream().map(User::getUid).toList(); var offset = page * maxResult; var query = escapeQuery(searchString); var isOneWord = query.split("[^\\S\\+]+").length == 1; |