summaryrefslogtreecommitdiff
path: root/archaeological_operations
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
commit7f6d854d7d3868f778fa1e43fcbed58f1613ce01 (patch)
tree9bdedd219f5aeb540d88255a3f436fade6038c88 /archaeological_operations
parent1ffdfe3567614c74e146ecc9533adb5ac10bd49d (diff)
downloadIshtar-7f6d854d7d3868f778fa1e43fcbed58f1613ce01.tar.bz2
Ishtar-7f6d854d7d3868f778fa1e43fcbed58f1613ce01.zip
Forms: fix mapping filtering
Diffstat (limited to 'archaeological_operations')
-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'