Skip to content

Commit 58611de

Browse files
authored
fix: output is not ordered by pubDate (#28)
related issues: #26
1 parent 587a83e commit 58611de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/run/halo/feed/FeedServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private Mono<ServerResponse> postListResultToXmlServerResponse(
151151
FeedContext feedContext, RSS2 rss2) {
152152
return postListResult
153153
.flatMapIterable(ListResult::getItems)
154-
.flatMap(post -> {
154+
.concatMap(post -> {
155155
// Create item
156156
var permalink = post.getStatusOrDefault().getPermalink();
157157
if (permalink != null) {

0 commit comments

Comments
 (0)