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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a7013ef470e6fa60f3ed699a437a201a3f71232
4
- data.tar.gz: 59013c7b8217eca43a2b863253ca1a8d6c995593
3
+ metadata.gz: fb039574a705c7c97edc2b0574fa6ee0448eb359
4
+ data.tar.gz: d91f264fdfe23508df721faf6547ee3045c5cd1b
5
5
  SHA512:
6
- metadata.gz: 609f4f175e760199a842ffb5aac2dfa317aeb5641ffe2e614199db265cd7a8eabd024a52f15d40f663672974a47b7c18621357fa139f98f662c820eb4da661bf
7
- data.tar.gz: 6320edd1026ee61daa9ddb51ada12df1a88c4716a512ec4ddd97510d98f6bb04f5e13d15aae179b1cd0794f85cab0bff122a8b9722d8d5eb2eb909c6ef290ba3
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
 
@@ -1,3 +1,3 @@
1
1
  module MyForum
2
- VERSION = "0.0.1.beta48"
2
+ VERSION = "0.0.1.beta49"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_forum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta48
4
+ version: 0.0.1.beta49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko