From f4bb67b1f0dbf14a8ed8f9a4672d9564b6444687 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 19 Sep 2019 14:57:28 +0200 Subject: Documents: fix new author shortcut --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 2a50533db..cb1325af1 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2047,7 +2047,7 @@ class TemplateItem: "models_treatments", "models") if alt_model_name != model_name: q |= Q(associated_model__klass=model_name, - for_labels=True, available=True) + for_labels=True, available=True) return DocumentTemplate.objects.filter(q) @classmethod -- cgit v1.2.3