diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-23 18:43:16 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-26 15:20:16 +0100 |
commit | 729e62dc4706f70f14510ca89f2362ba600c5ad5 (patch) | |
tree | 5c4ecb657ca220194e1cad0897ed2d03c61bdbbf /archaeological_operations/forms.py | |
parent | d1890dc252f7f75c8b7dd5166e7fd145f7db5379 (diff) | |
download | Ishtar-729e62dc4706f70f14510ca89f2362ba600c5ad5.tar.bz2 Ishtar-729e62dc4706f70f14510ca89f2362ba600c5ad5.zip |
✨ Find - museum fields: bulk update
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 98152f189..28ed5b899 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -1720,11 +1720,7 @@ class QAOperationFormMulti(QAForm): return value def _get_qa_operator(self, value): - try: - value = Organization.objects.get(pk=value).cached_label - except Organization.DoesNotExist: - return "" - return value + return self._get_organization(value) def _get_qa_finds_received(self, value): return self._get_null_boolean_field(value) |