diff options
author | Vitaly Takmazov | 2019-03-01 16:58:20 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-03-01 16:58:20 +0300 |
commit | baedd85ddb7370e3421135a402c3c48531a039f4 (patch) | |
tree | 1eef1056b748a41cd1efe66e35d410e106d3b5d5 | |
parent | 5a1501967e3cf7711cdec85fa8c92a0a97a7d8a5 (diff) |
Fix getMessages query
-rw-r--r-- | src/main/java/com/juick/service/MessagesServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/MessagesServiceImpl.java b/src/main/java/com/juick/service/MessagesServiceImpl.java index 05f05701..50043582 100644 --- a/src/main/java/com/juick/service/MessagesServiceImpl.java +++ b/src/main/java/com/juick/service/MessagesServiceImpl.java @@ -878,7 +878,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ + "LEFT JOIN tags ON tags.tag_id=messages_tags.tag_id " + "WHERE messages.message_id IN (:ids) GROUP BY " + "messages.message_id, rid, replyto, messages.user_id, users.nick, usr_banned, messages.ts, " - + "messages.readonly, messages.privacy, messages.attach, messages.hidden, messages_txt.tags, " + + "messages.readonly, messages.privacy, messages.attach, messages.hidden, " + "messages_txt.repliesby, messages_txt.txt, q, messages.updated, to_uid, to_name, updated_at, " + "m_user_uri, msg_reply_uri, html", new MapSqlParameterSource("ids", mids) |