From bbba99c79674514c3500c0c78dbeaefea73daf8b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 28 Oct 2019 12:09:28 +0100 Subject: Fix statistics for operations - Warehouse: long timeout for stats --- archaeological_operations/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_operations/models.py') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index b547db375..3538db2f8 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1546,7 +1546,7 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem, QRCodeItem, for res in q.all(): label = str(res['object_types__label']) if label == 'None': - label = _("No type") + label = str(_("No type")) nbs.append( (label, Find.objects.filter( -- cgit v1.2.3