diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-03-05 17:13:42 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:41:37 +0200 |
commit | de1d66cf8e1c07067359c07261f97715b5a64dc4 (patch) | |
tree | 9bdedd219f5aeb540d88255a3f436fade6038c88 | |
parent | fb81e66bd8b274ae061d0f4d37ed1944d486c146 (diff) | |
download | Ishtar-de1d66cf8e1c07067359c07261f97715b5a64dc4.tar.bz2 Ishtar-de1d66cf8e1c07067359c07261f97715b5a64dc4.zip |
Forms: fix mapping filtering
-rw-r--r-- | archaeological_context_records/forms.py | 6 | ||||
-rw-r--r-- | archaeological_operations/forms.py | 18 |
2 files changed, 16 insertions, 8 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index b9fbfac69..187a4eb2b 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -207,8 +207,10 @@ class RecordFormGeneral(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' 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' |