Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net committed Oct 31, 2024
1 parent 45c8f37 commit 04c608b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/backend/src/core/AdvancedSearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,6 @@ export class AdvancedSearchService {
} else {
this.queryService.generateVisibilityQuery(query, me, true);
}
this.logger.info(query.getQuery());
return await query.limit(pagination.limit).getMany();
}
}
Expand Down
3 changes: 1 addition & 2 deletions packages/backend/src/core/SearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ export class SearchService {
}
}

this.queryService.generateVisibilityQuery(query, me);
this.queryService.generateSearchableQuery(query, me);
this.queryService.generateVisibilityQuery(query, me, true);
if (me) this.queryService.generateMutedUserQuery(query, me);
if (me) this.queryService.generateBlockedUserQuery(query, me);

Expand Down

0 comments on commit 04c608b

Please sign in to comment.