my_forum 0.0.1.beta48 → 0.0.1.beta49
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/my_forum/forum.rb +1 -1
- data/lib/my_forum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb039574a705c7c97edc2b0574fa6ee0448eb359
|
4
|
+
data.tar.gz: d91f264fdfe23508df721faf6547ee3045c5cd1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02de42d1e13362806aa6f53a0674c2d0e4164e38e9c93f99c421c1cc7849dfb81e8f4daaa5d82628c6e741594a3a724e8f30b3c191b2c3500f4d12ba135d14f0
|
7
|
+
data.tar.gz: d6f538088d56e3f3f4581fdc0f3dfa06e58a5153fa5fbbaac94bc2971dcfc35591b5dc6f52df833babd325ae25454b39595068d35265b9a61a294c6a83f33aba
|
@@ -33,7 +33,7 @@ module MyForum
|
|
33
33
|
my_forum_topics.latest_post_login AS last_post_user_login
|
34
34
|
FROM my_forum_topics
|
35
35
|
WHERE my_forum_topics.forum_id = #{self.id} AND my_forum_topics.deleted IS FALSE
|
36
|
-
ORDER BY my_forum_topics.pinned DESC
|
36
|
+
ORDER BY my_forum_topics.pinned, my_forum_topics.latest_post_created_at DESC
|
37
37
|
", page: page, per_page: per_page)
|
38
38
|
end
|
39
39
|
|
data/lib/my_forum/version.rb
CHANGED