From de1d66cf8e1c07067359c07261f97715b5a64dc4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 5 Mar 2019 17:13:42 +0100 Subject: Forms: fix mapping filtering --- archaeological_operations/forms.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'archaeological_operations/forms.py') diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 854c30e18..88c3b30d4 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -880,8 +880,10 @@ class OperationFormGeneral(CustomForm, ManageOldType): ] PROFILE_FILTER = { 'mapping': [ - 'x', 'get_first_base_find__y', - 'z', 'get_first_base_find__estimated_error_x', + 'x', + 'y', + 'z', + 'estimated_error_x', 'estimated_error_y', 'estimated_error_z', 'spatial_reference_system' @@ -1203,8 +1205,10 @@ class ArchaeologicalSiteForm(ManageOldType): PROFILE_FILTER = { 'mapping': [ - 'x', 'get_first_base_find__y', - 'z', 'get_first_base_find__estimated_error_x', + 'x', + 'y', + 'z', + 'estimated_error_x', 'estimated_error_y', 'estimated_error_z', 'spatial_reference_system' @@ -1428,8 +1432,10 @@ class SiteForm(CustomForm, ManageOldType): PROFILE_FILTER = { 'mapping': [ - 'x', 'get_first_base_find__y', - 'z', 'get_first_base_find__estimated_error_x', + 'x', + 'y', + 'z', + 'estimated_error_x', 'estimated_error_y', 'estimated_error_z', 'spatial_reference_system' -- cgit v1.2.3