mirror of
https://github.com/pretix/pretix.git
synced 2026-09-14 16:24:43 +00:00
Fix query count
This commit is contained in:
@@ -51,6 +51,7 @@ class CrossSellingService:
|
||||
self.sales_channel = sales_channel
|
||||
self.cartpositions = cartpositions
|
||||
self.customer = customer
|
||||
self._discount_cache = {}
|
||||
|
||||
def get_data(self):
|
||||
if self.event.has_subevents:
|
||||
@@ -177,6 +178,7 @@ class CrossSellingService:
|
||||
)
|
||||
if self.customer else None
|
||||
),
|
||||
_discount_cache=self._discount_cache,
|
||||
)
|
||||
new_items = list()
|
||||
for item in items:
|
||||
|
||||
Reference in New Issue
Block a user