From c1adf8e650505ed83299289b2ac1a8c58017d354 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 7 May 2023 10:41:11 +0200 Subject: [PATCH] Improved PropertyStats page with only active services. --- 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 d8b55bf..631b750 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/PropertyStatsPage.java +++ b/src/fr/devinsy/statoolinfos/htmlize/PropertyStatsPage.java @@ -74,7 +74,7 @@ public class PropertyStatsPage page = PropertyStatsPage.htmlize("Les propriétés des organizations", organizationsStats); FileUtils.write(new File(htmlizeDirectory, "propertyStats-organizations.xhtml"), page, StandardCharsets.UTF_8); - PropertyStats servicesStats = StatAgent.statServicesProperties(federation.getServicesAll()); + PropertyStats servicesStats = StatAgent.statServicesProperties(federation.getActiveServices()); page = PropertyStatsPage.htmlize("Les propriétés des services", servicesStats); FileUtils.write(new File(htmlizeDirectory, "propertyStats-services.xhtml"), page, StandardCharsets.UTF_8); }