summaryrefslogtreecommitdiff
path: root/archaeological_operations/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/views.py')
-rw-r--r--archaeological_operations/views.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py
index 5d5038758..4156f09be 100644
--- a/archaeological_operations/views.py
+++ b/archaeological_operations/views.py
@@ -155,7 +155,10 @@ get_administrativeactop = get_item(models.AdministrativeAct,
get_administrativeact = get_item(models.AdministrativeAct,
'get_administrativeact', 'administrativeact',
- extra_request_keys={'year':'signature_date__year',})
+ extra_request_keys={'year':'signature_date__year',
+ 'indexed':'index__isnull',
+ 'operation__towns':'operation__towns__pk'},
+ reversed_bool_fields = ['index__isnull'],)
show_administrativeact = show_item(models.AdministrativeAct, 'administrativeact')
def dashboard_operation(request, *args, **kwargs):