mirror of
https://github.com/pretix/pretix.git
synced 2026-08-14 11:26:26 +00:00
Make link to order work, even if the order is in a different event
This commit is contained in:
@@ -80,7 +80,7 @@ class OrderLogEntryType(EventLogEntryType):
|
||||
content_type = Order
|
||||
|
||||
def object_link_args(self, order):
|
||||
return {'code': order.code}
|
||||
return {'event': order.event.slug, 'code': order.code}
|
||||
|
||||
def object_link_display_name(self, order):
|
||||
return order.code
|
||||
|
||||
Reference in New Issue
Block a user