Commit cd5c4bac5042c5469dcdf7e7b2f768d3c6fd7088

Authored by Dmitriy Zaporozhets
1 parent 8470d70d

notes count for wall

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/notes_controller.rb
... ... @@ -46,7 +46,7 @@ class NotesController < ApplicationController
46 46 when "snippet"
47 47 then project.snippets.find(params[:target_id]).notes
48 48 when "wall"
49   - then project.common_notes.order("created_at DESC").fresh.limit(10)
  49 + then project.common_notes.order("created_at DESC").fresh.limit(50)
50 50 when "issue"
51 51 then project.issues.find(params[:target_id]).notes.inc_author.order("created_at DESC").limit(20)
52 52 when "merge_request"
... ...