summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
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
commit729e62dc4706f70f14510ca89f2362ba600c5ad5 (patch)
tree5c4ecb657ca220194e1cad0897ed2d03c61bdbbf /archaeological_operations/forms.py
parentd1890dc252f7f75c8b7dd5166e7fd145f7db5379 (diff)
downloadIshtar-729e62dc4706f70f14510ca89f2362ba600c5ad5.tar.bz2
Ishtar-729e62dc4706f70f14510ca89f2362ba600c5ad5.zip
✨ Find - museum fields: bulk update
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py6
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)