summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
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
commitde1d66cf8e1c07067359c07261f97715b5a64dc4 (patch)
tree9bdedd219f5aeb540d88255a3f436fade6038c88 /archaeological_operations/forms.py
parentfb81e66bd8b274ae061d0f4d37ed1944d486c146 (diff)
downloadIshtar-de1d66cf8e1c07067359c07261f97715b5a64dc4.tar.bz2
Ishtar-de1d66cf8e1c07067359c07261f97715b5a64dc4.zip
Forms: fix mapping filtering
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py18
1 files changed, 12 insertions, 6 deletions
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'