Skip to content

Commit

Permalink
fix: private posts being displayed in the RSS feed
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Jan 6, 2025
1 parent 61da3ce commit 8edc023
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ListOptions buildPostListOptions(Query query) {
equal("spec.visible", Post.VisibleEnum.PUBLIC.name())
));
if (query != null) {
builder.fieldQuery(query);
builder.andQuery(query);
}
return builder.build();
}
Expand Down

0 comments on commit 8edc023

Please sign in to comment.