summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-05-06 11:33:49 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-05-06 11:33:49 +0200
commit41036b5b05f67110b161f2aaddc01e5494430276 (patch)
tree9178210a40b2042dd59b7032e9b2e5b0e18b3569 /archaeological_context_records/models.py
parent94628a0c990735fd9621044593ffd6e354fe992f (diff)
downloadIshtar-41036b5b05f67110b161f2aaddc01e5494430276.tar.bz2
Ishtar-41036b5b05f67110b161f2aaddc01e5494430276.zip
🐛 fix autocomplete context record to match search query
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index c8eb83677..23b6644ed 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -1037,7 +1037,7 @@ class ContextRecord(
return pgettext("short", "Context record")
def __str__(self):
- return self.short_label or ""
+ return self.cached_label or ""
@property
def surface_ha(self):