From 774f682838f56443daf81c48ffde6377788a10f3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 13 Nov 2020 12:40:56 +0100 Subject: Labels: fix filtering --- ishtar_common/models_common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ishtar_common/models_common.py') diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 98d435ce9..903d1d970 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -1745,7 +1745,8 @@ class Town(Imported, models.Model): 'year': self.year or ""} return values - def get_values(self, prefix='', no_values=False, no_base_finds=True): + def get_values(self, prefix='', no_values=False, filtr=None, + no_base_finds=True): return { prefix or "label": str(self), prefix + "name": self.name, -- cgit v1.2.3