From a30328421d3518ed91631e33fcb205f14d295afa Mon Sep 17 00:00:00 2001 From: Ramez Ashraf Date: Tue, 20 Aug 2024 14:48:37 +0200 Subject: [PATCH] Fix issue with crosstab compute reminder did not respect class choice --- slick_reporting/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slick_reporting/views.py b/slick_reporting/views.py index ee6ab5b..1774287 100644 --- a/slick_reporting/views.py +++ b/slick_reporting/views.py @@ -304,7 +304,7 @@ def get_report_generator(self, queryset=None, for_print=False): try: crosstab_compute_remainder = ( self.form.get_crosstab_compute_remainder() - if self.request.GET or self.request.POST + if self.crosstab_compute_remainder is None and (self.request.GET or self.request.POST) else self.crosstab_compute_remainder ) except NotImplementedError: