Adding the 2 additional organizations + its projects (#77) caused broken links for all organization report pages and project report pages in list of orgs page and list of projects page. This was due to "/metrics" being missing in the url path.
Solution
Instead of obtaining the reports by using the file location in the project directory, href now usessite.baseurlas part of the href value since this variable includes the path prefix.
Result
Links are fixed, successfully redirecting to organization report pages and project report pages.
Fix for Path Bug
Problem
Adding the 2 additional organizations + its projects (#77) caused broken links for all organization report pages and project report pages in list of orgs page and list of projects page. This was due to "/metrics" being missing in the url path.
Solution
Instead of obtaining the reports by using the file location in the project directory, href now uses
site.baseurl
as part of the href value since this variable includes the path prefix.Result
Links are fixed, successfully redirecting to organization report pages and project report pages.
Test Plan
Verified changes manually.