From ddc9e839ff1c185801ba922542b468a015c76767 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 28 Jan 2025 17:17:29 +0100 Subject: 🚑️ sheet warehouse: deactivate statistics when too many containers are attached MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_warehouse/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archaeological_warehouse/models.py') diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 67af4b5e0..3cb04816d 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -220,6 +220,7 @@ class DivisionContainer(DashboardFormItem): def _number_of_items_by_place(self, model, division_key, count_filter=None): res = {} + # TODO v5: optimize cf. Les Milles DRASSM paths = self.available_division_tuples[:] for path in paths: cpath = [] -- cgit v1.2.3