diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java b/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java index 8be3d4a..fb46217 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java @@ -48,7 +48,7 @@ public class LazychatResource { Role world = Role.find("from Role r join r.tags tag where tag = 'world'").singleResult(); lazychatMessages = Bookmark.find( - "select bm from LazychatMessage lm join lm.targets target left join fetch lm.owner where target = ?1", + "select lm from LazychatMessage lm join lm.targets target left join fetch lm.owner where target = ?1", Sort.by("date").descending(), world) .list(); |