Describe the bug
The displayed initiatives count is only corrrect until the pagination batch size is exceeded. If there are more than 20 initiatives, the counter will not surpass 20.
To Reproduce
Steps to reproduce the behavior:
- Go to 'initiatives index page'
- Create more than 20 initiatives (or whatever pagination batch size is configured)
- See counter only showing 20 initiatives
Expected behavior
The counter should display the total number of initiatives
Screenshots

Additional context
The problem ist obvious in app/views/decidim/initiatives/initiatives/_count.html.erb:
Current code:
<%= t(".title", count: initiatives.to_a.count) %>
This should fix it:
<%= t(".title", count: ideas.total_count) %>
Describe the bug
The displayed initiatives count is only corrrect until the pagination batch size is exceeded. If there are more than 20 initiatives, the counter will not surpass 20.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The counter should display the total number of initiatives
Screenshots

Additional context
The problem ist obvious in
app/views/decidim/initiatives/initiatives/_count.html.erb:Current code:
<%= t(".title", count: initiatives.to_a.count) %>This should fix it:
<%= t(".title", count: ideas.total_count) %>