@sgiehl opened this Pull Request on October 10th 2022 Member

Description:

Currently when a report showing goal specific metrics is loaded, each metric will trigger a request to Goals.getGoals to fetch the goals details in order to find the name.
This might depending on the number of goals decrease the performance. On a goals overview page, with six configured goals, the API method is currently called 54 times.
With this PR the API is only called once per requested report. So the number of calls is lowered to only 2!

Review

This Pull Request was closed on October 17th 2022
Powered by GitHub Issue Mirror