summaryrefslogtreecommitdiff
path: root/archaeological_operations/views.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-12-01 19:18:45 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-12-01 19:18:45 +0100
commit294f9e1102d25d53ed45d0b850286eeb986e5963 (patch)
treef7a7b2e7f9a365e920e576e8661364e61d70061e /archaeological_operations/views.py
parent88757c7fc528a83c0bb3f317d2c9961b65ea3ec6 (diff)
downloadIshtar-294f9e1102d25d53ed45d0b850286eeb986e5963.tar.bz2
Ishtar-294f9e1102d25d53ed45d0b850286eeb986e5963.zip
Administrativ act: search by departments
Diffstat (limited to 'archaeological_operations/views.py')
-rw-r--r--archaeological_operations/views.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py
index d60d9da3d..7ae6063bc 100644
--- a/archaeological_operations/views.py
+++ b/archaeological_operations/views.py
@@ -166,6 +166,8 @@ get_administrativeactop = get_item(
'year': 'signature_date__year',
'history_creator':
'history_creator__ishtaruser__person__pk',
+ 'operation__towns__numero_insee__startswith':
+ 'operation__towns__numero_insee__startswith'
},
relative_session_names={'operation': 'operation__pk'})
@@ -176,6 +178,8 @@ get_administrativeact = get_item(
'indexed': 'index__isnull',
'history_creator':
'history_creator__ishtaruser__person__pk',
+ 'operation__towns__numero_insee__startswith':
+ 'operation__towns__numero_insee__startswith',
'operation__towns': 'operation__towns__pk'},
reversed_bool_fields=['index__isnull'],)
show_administrativeact = show_item(models.AdministrativeAct,