Describe the bug
On the processes group page, the processes counter takes into account unpublished processes.
This is not consistent with the counter on the processes content block, that displays only published processes.
To Reproduce
- Go to a process group with 2 processes
- Unpublish one of those processes
- See error on process group page
Expected behavior
As a user, I expect processes counters to be consistent.
As an admin, I expect unpublished processes no to appear in process group counts.
Screenshots


Extra data (please complete the following information):
- Decidim Version: [0.26.1]
- Decidim installation: [try.decidim.org]
Additional context
PR that fixes the counter display: #9087
|
def participatory_processes_count |
Describe the bug
On the processes group page, the processes counter takes into account unpublished processes.
This is not consistent with the counter on the processes content block, that displays only published processes.
To Reproduce
Expected behavior
As a user, I expect processes counters to be consistent.
As an admin, I expect unpublished processes no to appear in process group counts.
Screenshots


Extra data (please complete the following information):
Additional context
PR that fixes the counter display: #9087
decidim/decidim-participatory_processes/app/cells/decidim/participatory_process_groups/content_blocks/title_cell.rb
Line 45 in 371f5e9