summaryrefslogtreecommitdiff
path: root/ishtar_common/models_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r--ishtar_common/models_common.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index a6f5d1197..78a7cc037 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -3039,6 +3039,14 @@ class GeographicItem(models.Model):
"geodata__provider": SearchAltName(
pgettext_lazy("key for text search", "geo-provider"), "geodata__provider__label__iexact"
),
+ "geodata__z__gt": SearchAltName(
+ pgettext_lazy("key for text search", "z-higher"),
+ "geodata__cached_z__gte"
+ ),
+ "geodata__z__lt": SearchAltName(
+ pgettext_lazy("key for text search", "z-lower"),
+ "geodata__cached_z__lte"
+ ),
"geodata__comment": SearchAltName(
pgettext_lazy("key for text search", "geo-comment"), "geodata__comment__iexact"
),