diff options
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 02a11fa..2c56285 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java @@ -166,7 +166,7 @@ public abstract class Post<Text extends PostText<?>> extends PanacheEntityBase { if (entityClass.isAssignableFrom(Post.class)) { cb = cb.innerJoin("user.visiblePosts", "post"); } else if (entityClass.isAssignableFrom(Bookmark.class)) { - cb = cb.innerJoin("user.visibleBookmark", "post"); + cb = cb.innerJoin("user.visibleBookmarks", "post"); } else if (entityClass.isAssignableFrom(LazychatMessage.class)) { cb = cb.innerJoin("user.visibleLazychatMessages", "post"); } else { |