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

Issue trend graph optimization and bug fix #1975

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

dregad
Copy link
Member

@dregad dregad commented Mar 13, 2024

Fixes

  • #34041 count of resolved issues on last day of data set
  • #34042 performance optimization

@dregad dregad self-assigned this Mar 13, 2024
Until today, the function was executing simple SQL queries returning
atomic data, and PHP code had to loop over each row to compute the total
number of reported and resolved Issues.

This reports the effort to aggregate the data on the database server,
greatly simplifying the PHP code

It also fixes a bug where the last resolved issue was sometimes not
computed, resulting in an incorrect result set.

Fixes #34041,#34042
@dregad dregad merged commit 8a42b2a into mantisbt:master Mar 19, 2024
1 check failed
@dregad dregad deleted the issue-trend-graph branch March 19, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant