Get the Organizer of organizer-level plugin log entries directly (#5784)

This commit is contained in:
George Hickman
2026-01-08 13:41:34 +00:00
committed by GitHub
parent 48809dc477
commit 1c684d62d4

View File

@@ -814,7 +814,7 @@ class OrganizerPluginStateLogEntryType(LogEntryType):
if app and hasattr(app, 'PretixPluginMeta'):
return {
'href': reverse('control:organizer.settings.plugins', kwargs={
'organizer': logentry.event.organizer.slug,
'organizer': logentry.organizer.slug,
}) + '#plugin_' + logentry.parsed_data['plugin'],
'val': app.PretixPluginMeta.name
}