summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_context_records/forms.py6
-rw-r--r--archaeological_finds/forms.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index 55ea7fd5c..73666cab5 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -755,6 +755,12 @@ class QAContextRecordFormMulti(QAForm):
)
)
+ def _get_qa_archaeological_site(self, value):
+ try:
+ return str(ArchaeologicalSite.objects.get(pk=value))
+ except ArchaeologicalSite.DoesNotExist:
+ return ""
+
def _get_qa_related_to(self, value):
try:
return str(models.ContextRecord.objects.get(pk=value))
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index 8337cbcf8..ee36ebc99 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -1156,7 +1156,7 @@ class QAFindBasketModify(QAForm):
def _get_qa_shared_with(self, value):
return self._get_ishtar_user_list(value)
- def _get_qa_shared_write_with(self, value):
+ def _get_qa_shared_writewith(self, value):
return self._get_ishtar_user_list(value)