Organizer plugins: Do not show plugins as active if they are not on org-level

This commit is contained in:
Raphael Michel
2025-08-20 13:32:36 +02:00
parent 7ecc64ec73
commit b580cadc48
+3 -1
View File
@@ -638,10 +638,12 @@ class OrganizerPlugins(OrganizerDetailViewMixin, OrganizerPermissionRequiredMixi
active_counter = Counter()
events_total = 0
org_plugins = self.object.get_plugins()
for e in self.object.events.only("plugins").iterator():
events_total += 1
for p in e.get_plugins():
active_counter[p] += 1
if p in org_plugins:
active_counter[p] += 1
plugins_grouped = groupby(
sorted(
plugins,