Improved property stats page with only active organizations.

This commit is contained in:
Christian P. MOMON 2023-05-07 11:55:20 +02:00
parent 5cc3f8c634
commit 72ea872546

View file

@ -70,7 +70,7 @@ public class PropertyStatsPage
page = PropertyStatsPage.htmlize("Les propriétés de la fédération", federationStats);
FileUtils.write(new File(htmlizeDirectory, "propertyStats-federation.xhtml"), page, StandardCharsets.UTF_8);
PropertyStats organizationsStats = StatAgent.statOrganizationsProperties(federation.getOrganizations());
PropertyStats organizationsStats = StatAgent.statOrganizationsProperties(federation.getActiveOrganizations());
page = PropertyStatsPage.htmlize("Les propriétés des organizations", organizationsStats);
FileUtils.write(new File(htmlizeDirectory, "propertyStats-organizations.xhtml"), page, StandardCharsets.UTF_8);