diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2014-06-15 21:51:19 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2014-06-15 21:51:19 +0200 | 
| commit | 0cb5ce196a875415c759f94b0dbd489209cadc8a (patch) | |
| tree | 4890fe917ec9d0a1158e8fafe3be649503947f13 /archaeological_operations/views.py | |
| parent | b46744b1f77d543452d78fe6da9d5ddaccd11461 (diff) | |
| download | Ishtar-0cb5ce196a875415c759f94b0dbd489209cadc8a.tar.bz2 Ishtar-0cb5ce196a875415c759f94b0dbd489209cadc8a.zip  | |
Fix history creator search (refs #1590)
Diffstat (limited to 'archaeological_operations/views.py')
| -rw-r--r-- | archaeological_operations/views.py | 6 | 
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,  | 
