diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-02-26 20:59:26 +0300 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-02-26 20:59:26 +0300 |
commit | f4be2d4e1bd4ac456610c72862f20ff29b3820a8 (patch) | |
tree | 3c581fe26b071b2b3084daed9ae46597b01ac701 /app/views/shared | |
parent | f5201a816f2eff9393e16f362403451e5d86ee6c (diff) |
Revert "Merge branch '56726-fix-n+1-in-issues-and-merge-requests-api' into 'master'"
This reverts merge request !25042
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/_issuable_meta_data.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_issuable_meta_data.html.haml b/app/views/shared/_issuable_meta_data.html.haml index 31a5370a5f8..6cc8c485666 100644 --- a/app/views/shared/_issuable_meta_data.html.haml +++ b/app/views/shared/_issuable_meta_data.html.haml @@ -1,4 +1,4 @@ -- note_count = @issuable_meta_data[issuable.id].user_notes_count +- note_count = @issuable_meta_data[issuable.id].notes_count - issue_votes = @issuable_meta_data[issuable.id] - upvotes, downvotes = issue_votes.upvotes, issue_votes.downvotes - issuable_url = @collection_type == "Issue" ? issue_path(issuable, anchor: 'notes') : merge_request_path(issuable, anchor: 'notes') |