diff options
author | Vitaly Takmazov | 2016-12-01 19:28:00 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-01 19:28:00 +0300 |
commit | 95ffca7d956bca661315310b54f7fa5e7bab6006 (patch) | |
tree | d388c461f1b5d2ff917453e33c8d35b21bf63312 /juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java | |
parent | 6c8b3cdf36d33e3da2ae94a5ef89243579a57b89 (diff) |
juick-server: fix myfeed order
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java b/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java index 9cf103a1..7ca49ea9 100644 --- a/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java +++ b/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java @@ -449,7 +449,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ " (SELECT message_id FROM messages WHERE user_id=:uid " + (before > 0 ? " AND message_id < :before " : "") + - ") ORDER BY message_id ASC LIMIT 20", + ") ORDER BY message_id DESC LIMIT 20", sqlParameterSource, Integer.class); |