diff options
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 3541020d8..4f5ac0435 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -740,9 +740,9 @@ class DashboardForm(IshtarForm): if self.cleaned_data.get('preventive_research'): preventive_research = self.cleaned_data['preventive_research'] if preventive_research == 'preventive': - fltr['file_type__preventive'] = True - elif preventive_research == 'preventive': - fltr['file_type__preventive'] = False + fltr['operation_type__preventive'] = True + elif preventive_research == 'research': + fltr['operation_type__preventive'] = False if self.cleaned_data.get('operation_type'): fltr['operation_type_id'] = self.cleaned_data['operation_type'] if self.cleaned_data.get('operator'): |