summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-25 12:45:06 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-25 12:45:06 +0100
commit513aceb9241806f7350ec7fc1ac49d3b75bc953a (patch)
tree724f9865add02df41e6e70f67642cc7eb421e044 /archaeological_context_records/models.py
parentcdb5af349c931fa12ccf642cf2080aa117dc4a1f (diff)
downloadIshtar-513aceb9241806f7350ec7fc1ac49d3b75bc953a.tar.bz2
Ishtar-513aceb9241806f7350ec7fc1ac49d3b75bc953a.zip
Operations: fix bulk update of context records (refs #3472)
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 4fcbcf258..b36c56a85 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -300,7 +300,7 @@ class ContextRecord(BaseHistorizedItem, ImageModel, OwnPerms,
context_records_cached_label_bulk_update.section || '{join}' ||
context_records_cached_label_bulk_update.number || '{join}' ||
context_records_cached_label_bulk_update.label
- FROM t
+ FROM context_records_cached_label_bulk_update
WHERE cr.id = context_records_cached_label_bulk_update.id
AND cr.id IN (
SELECT id FROM archaeological_context_records_contextrecord