diff options
Diffstat (limited to 'archaeological_files/views.py')
| -rw-r--r-- | archaeological_files/views.py | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/archaeological_files/views.py b/archaeological_files/views.py index 5eed99278..3341c2813 100644 --- a/archaeological_files/views.py +++ b/archaeological_files/views.py @@ -85,6 +85,8 @@ get_file = get_item(                       'operations__parcels__section'),          'parcel_1': ('parcels__parcel_number',                       'operations__parcels__parcel_number'), +        'parcel_2': ('operations__parcels__public_domain', +                     'parcels__public_domain'),          'end_date': 'end_date__isnull',          'towns__numero_insee__startswith':          'towns__numero_insee__startswith', @@ -135,6 +137,8 @@ get_administrativeactfile = get_item(          'parcel_1': (              'operation__parcels__parcel_number',              'associated_file__parcels__parcel_number'), +        'parcel_2': ('operations__parcels__public_domain', +                     'associated_file__parcels__public_domain'),          'associated_file__permit_reference':              'associated_file__permit_reference__icontains'},      reversed_bool_fields=['index__isnull'], | 
