diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2022-06-06 09:42:35 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2022-06-06 09:42:35 +0200 |
commit | 0b2aa3b52b97a6edeeb4a9b6b5d21a5b7df2ace2 (patch) | |
tree | 21fed7968a2cca6284888a42dbd653556b1308c1 /src | |
parent | ef313f51eedac844078157b24da3fcce059ccf11 (diff) |
KB66 Post: Order comments by date ascending rather than descending.
Change-Id: If3205486b9a2acbc5578479395237f2d41be0c40
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java b/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java index 1ddffa8..c2f3dbc 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java @@ -116,7 +116,7 @@ public abstract class Post<Text extends PostText<?>> extends PanacheEntityBase { public Collection<LazychatMessage> referrers; @ManyToMany(mappedBy = "referees") - @OrderBy("date DESC") + @OrderBy("date ASC") @Where(clause = "scope = 'comment'") @JsonbTransient public Collection<LazychatMessage> comments; |