From e9c3065e0357df57e1bda274f489922dcd63e3a6 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Sat, 8 Oct 2016 14:34:12 +0200 Subject: [PATCH] Pass required parameter for cache invalidation --- src/pretix/plugins/statistics/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/plugins/statistics/views.py b/src/pretix/plugins/statistics/views.py index d1382f1fa..b8dcdbef8 100644 --- a/src/pretix/plugins/statistics/views.py +++ b/src/pretix/plugins/statistics/views.py @@ -22,7 +22,7 @@ class IndexView(EventPermissionRequiredMixin, ChartContainingView, TemplateView) tz = timezone.get_current_timezone() if 'latest' in self.request.GET: - clear_cache() + clear_cache(self.request.event) cache = self.request.event.get_cache()