summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-07 11:09:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 10:46:13 +0200
commit07f24f648504004adbb57b16bd18fbd23a3c3998 (patch)
treed605a5b6bc1aa62d20631a965fc6bd6fd341bc86 /archaeological_operations/models.py
parent5341c3beb0fc3b52e864156bbfee54db78612b20 (diff)
downloadIshtar-07f24f648504004adbb57b16bd18fbd23a3c3998.tar.bz2
Ishtar-07f24f648504004adbb57b16bd18fbd23a3c3998.zip
Fix tests and fixtures for new document management (refs #4107)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index e2e3422fa..b180d333e 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -1592,8 +1592,8 @@ class OperationDashboard:
'effective': {'scientist__isnull': False},
'active': {'scientist__isnull': False, 'end_date__isnull': True},
'field': {'excavation_end_date__isnull': True},
- 'documented': {'source__isnull': False},
- 'documented_closed': {'source__isnull': False,
+ 'documented': {'documents__isnull': False},
+ 'documented_closed': {'documents__isnull': False,
'end_date__isnull': False},
'closed': {'end_date__isnull': False}
}