Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#55480] Fix Include subprojects return wrong total sum #16383

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Reza98Sh
Copy link

@Reza98Sh Reza98Sh commented Aug 9, 2024

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 Reza98Sh marked this pull request as draft August 14, 2024 07:11
@Reza98Sh Reza98Sh marked this pull request as ready for review August 14, 2024 18:27
@Reza98Sh
Copy link
Author

Reza98Sh commented Aug 15, 2024

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

@oliverguenther oliverguenther force-pushed the fix/include_subprojects_num branch from f05523c to 54b8303 Compare October 7, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants