summaryrefslogtreecommitdiff
path: root/app/contexts/notes/load_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/contexts/notes/load_context.rb')
-rw-r--r--app/contexts/notes/load_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/contexts/notes/load_context.rb b/app/contexts/notes/load_context.rb
index 9f8299f52f7..05626c31a25 100644
--- a/app/contexts/notes/load_context.rb
+++ b/app/contexts/notes/load_context.rb
@@ -18,7 +18,7 @@ module Notes
project.snippets.find(target_id).notes.fresh
when "wall"
# this is the only case, where the order is DESC
- project.common_notes.order("created_at DESC, id DESC").limit(50)
+ project.notes.common.inc_author_project.order("created_at DESC, id DESC").limit(50)
end
@notes = if after_id