openproject icon indicating copy to clipboard operation
openproject copied to clipboard

[#55480] Fix Include subprojects return wrong total sum

Open Reza98Sh opened this issue 1 year ago • 1 comments

What are you trying to accomplish?

Fix bug OP#55480 Project and Include subprojects return wrong total sum values (button 'Include projects')

Ticket

https://community.openproject.org/work_packages/55480

I have changed the numberOfProjectsInFilter$. When this.includeSubprojects is true, it collects all subproject hrefs and updates the number.

Screencast from 2024-08-09 15-48-28.webm

If this method is not considered best practice, please let me know. I am doing my best to improve it.

Reza98Sh avatar Aug 09 '24 12:08 Reza98Sh

@oliverguenther Excuse me, could you please check this and run the workflow? It seems to need approval from a maintainer. Thank you!

Reza98Sh avatar Aug 15 '24 17:08 Reza98Sh