diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-04-04 14:57:10 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-04-04 14:57:10 +0200 |
commit | 3a5dbf688d058bd39aaae308cd7224ddd42c7890 (patch) | |
tree | 71534688508038a9b4b56428799673a42eae1825 | |
parent | a0ef455fb3b477fbf03d9e8beee4bf7f122451d6 (diff) | |
download | Ishtar-3a5dbf688d058bd39aaae308cd7224ddd42c7890.tar.bz2 Ishtar-3a5dbf688d058bd39aaae308cd7224ddd42c7890.zip |
Base finds: fix bulk update of finds on context record change (refs #3484)
-rw-r--r-- | archaeological_finds/models_finds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 3e14aa592..3785267b2 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -941,7 +941,7 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem): INNER JOIN archaeological_finds_basefind mybf ON myfbf.basefind_id = mybf.id AND mybf.context_record_id = %s """ - args = [int(parcel_id)] + args = [int(context_record_id)] else: return |