From 79ece9f5e25915ed2b802d16fa58481ccdbde34d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 7 Oct 2017 11:52:09 +0200 Subject: [PATCH] calendar: use "id" as stable key for chrono agendas (#19267) --- combo/apps/calendar/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/apps/calendar/utils.py b/combo/apps/calendar/utils.py index 8d9b08e..6e4df54 100644 --- a/combo/apps/calendar/utils.py +++ b/combo/apps/calendar/utils.py @@ -59,7 +59,7 @@ def get_agendas(): return references for agenda in result.get('data'): references.append(( - '%s:%s' % (chrono['slug'], agenda['slug']), agenda['text'])) + '%s:%s' % (chrono['slug'], agenda['id']), agenda['text'])) return references -- 2.14.2