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 | 2e73bbcc1f76f156cb181a758cd0703519e7c269 (patch) | |
tree | b9a24b035f4e6b25ad449f528200f4e99a663ccc | |
parent | 6fa4e1c74c8fe7a390b786093227723623123b0c (diff) | |
download | Ishtar-2e73bbcc1f76f156cb181a758cd0703519e7c269.tar.bz2 Ishtar-2e73bbcc1f76f156cb181a758cd0703519e7c269.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"] = \ |