Commit 039489a7e8d09c8f9b0e92baea28bc6bd89bf807
1 parent
b381f86c
Exists in
master
and in
7 other branches
Fix ranking
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/proposals_discussion_plugin/proposals_holder.rb
@@ -41,7 +41,7 @@ class ProposalsDiscussionPlugin::ProposalsHolder < Folder | @@ -41,7 +41,7 @@ class ProposalsDiscussionPlugin::ProposalsHolder < Folder | ||
41 | end | 41 | end |
42 | 42 | ||
43 | def ranking | 43 | def ranking |
44 | - ProposalsDiscussionPlugin::RankingItem.joins(:proposal => :parent).where('parents_articles.id' => self.id).order(:position) | 44 | + ProposalsDiscussionPlugin::RankingItem.joins(:proposal => :parent).where('parents_articles.id' => self.id)#.order(:position) |
45 | end | 45 | end |
46 | 46 | ||
47 | def compute_ranking | 47 | def compute_ranking |