diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-18 17:30:22 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-18 17:30:22 +0200 |
commit | a98b80957f6d3e45fbd04f52cafee9935a71871f (patch) | |
tree | b9a24b035f4e6b25ad449f528200f4e99a663ccc | |
parent | 0199723b4909764e4dc98646d78420eff451b401 (diff) | |
download | Ishtar-a98b80957f6d3e45fbd04f52cafee9935a71871f.tar.bz2 Ishtar-a98b80957f6d3e45fbd04f52cafee9935a71871f.zip |
Dashboard: fix department filter
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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"] = \ |