Fixes #1230. Makes comment counter more efficient
This commit is contained in:
parent
c5e3d495bb
commit
33df0ee8e4
5 changed files with 21 additions and 3 deletions
|
|
@ -183,4 +183,4 @@
|
|||
%ul.dropdown-menu{role: 'menu'}
|
||||
= render 'change_state_dropdown', event: event
|
||||
%td.text-center
|
||||
= link_to "#{event.comment_threads.count}", admin_conference_program_event_path(@conference.short_title, event), anchor: 'comments-div'
|
||||
= link_to "#{event.comments_count}", admin_conference_program_event_path(@conference.short_title, event), anchor: 'comments-div'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue