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.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py
index 88d82bc3a..6e623db88 100644
--- a/archaeological_operations/views.py
+++ b/archaeological_operations/views.py
@@ -133,6 +133,8 @@ get_operation = get_item(models.Operation, 'get_operation', 'operation',
'associated_file__parcels__section'),
'parcel_1':('parcels__parcel_number',
'associated_file__parcels__parcel_number'),
+ 'history_creator':\
+ 'history_creator__ishtaruser__person__pk',
},
)
show_operation = show_item(models.Operation, 'operation')
@@ -150,6 +152,8 @@ get_administrativeactop = get_item(models.AdministrativeAct,
'operation__towns':'operation__towns__pk',
'act_type__intented_to':'act_type__intented_to',
'year':'signature_date__year',
+ 'history_creator':\
+ 'history_creator__ishtaruser__person__pk',
},
relative_session_names={'operation':'operation__pk'})
@@ -157,6 +161,8 @@ get_administrativeact = get_item(models.AdministrativeAct,
'get_administrativeact', 'administrativeact',
extra_request_keys={'year':'signature_date__year',
'indexed':'index__isnull',
+ 'history_creator':\
+ 'history_creator__ishtaruser__person__pk',
'operation__towns':'operation__towns__pk'},
reversed_bool_fields = ['index__isnull'],)
show_administrativeact = show_item(models.AdministrativeAct,