calendar: use "id" as stable key for chrono agendas (#19267)

This commit is contained in:
Frédéric Péters 2017-10-07 11:52:09 +02:00 committed by Thomas NOEL
parent 6e58343b18
commit d933070462
1 changed files with 1 additions and 1 deletions

View File

@ -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