From 2e73bbcc1f76f156cb181a758cd0703519e7c269 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 18 Jul 2016 17:30:22 +0200 Subject: Dashboard: fix department filter --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index bbd2923a0..21b96d85b 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1020,7 +1020,7 @@ class Dashboard: if len(str(p[1])) == 1 else p[1]) for p in periods] self.values = [('month', "", self.periods)] if show_detail: - for dpt in settings.ISHTAR_DPTS: + for dpt, lbl in settings.ISHTAR_DPTS: self.serie_labels.append(unicode(dpt)) idx = 'number_' + unicode(dpt) kwargs_num['fltr']["towns__numero_insee__startswith"] = \ -- cgit v1.2.3