Commit 654f10102e051bfcef75add025f6395da58c770d
1 parent
06ea1228
Exists in
master
and in
4 other branches
Remove paging from all notes except the wall
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/contexts/notes/load_context.rb
| ... | ... | @@ -9,11 +9,11 @@ module Notes |
| 9 | 9 | |
| 10 | 10 | @notes = case target_type |
| 11 | 11 | when "commit" |
| 12 | - project.commit_notes(project.commit(target_id)).fresh.limit(20) | |
| 12 | + project.commit_notes(project.commit(target_id)).fresh | |
| 13 | 13 | when "issue" |
| 14 | - project.issues.find(target_id).notes.inc_author.fresh.limit(20) | |
| 14 | + project.issues.find(target_id).notes.inc_author.fresh | |
| 15 | 15 | when "merge_request" |
| 16 | - project.merge_requests.find(target_id).mr_and_commit_notes.inc_author.fresh.limit(20) | |
| 16 | + project.merge_requests.find(target_id).mr_and_commit_notes.inc_author.fresh | |
| 17 | 17 | when "snippet" |
| 18 | 18 | project.snippets.find(target_id).notes.fresh |
| 19 | 19 | when "wall" | ... | ... |