From 72ea872546a1d1bf6b201ca777c5bcb4b259556f Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 7 May 2023 11:55:20 +0200 Subject: [PATCH] Improved property stats page with only active organizations. --- src/fr/devinsy/statoolinfos/htmlize/PropertyStatsPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/statoolinfos/htmlize/PropertyStatsPage.java b/src/fr/devinsy/statoolinfos/htmlize/PropertyStatsPage.java index 7f1e3e0..c214635 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/PropertyStatsPage.java +++ b/src/fr/devinsy/statoolinfos/htmlize/PropertyStatsPage.java @@ -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);