summaryrefslogtreecommitdiff
path: root/ishtar_common/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r--ishtar_common/forms.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py
index ad2548aa1..5a2e14b02 100644
--- a/ishtar_common/forms.py
+++ b/ishtar_common/forms.py
@@ -1312,12 +1312,16 @@ class GeoItemSelect(DocumentItemSelect): # all geo item can have documents
geodata__data_type = forms.ChoiceField(label=_("Geo - Data type"), choices=[])
geodata__origin = forms.ChoiceField(label=_("Geo - Origin"), choices=[])
geodata__provider = forms.ChoiceField(label=_("Geo - Provider"), choices=[])
+ geodata__z__gt = forms.FloatField(label=_("Geo - Z - higher than"))
+ geodata__z__lt = forms.FloatField(label=_("Geo - Z - lower than"))
geodata__comment = forms.CharField(label=_("Geo - Comment"), max_length=500)
CURRENT_FIELDS = [
"geodata__name",
"geodata__data_type",
"geodata__origin",
"geodata__provider",
+ "geodata__z__gt",
+ "geodata__z__lt",
"geodata__comment",
] + DocumentItemSelect.CURRENT_FIELDS
_explicit_ordering = True