Include listgroup sortkey in the JSON API

This commit is contained in:
Magnus Hagander
2012-07-11 18:05:28 +02:00
parent 355b187d78
commit 0cb1a64836

View File

@ -58,6 +58,7 @@ def listinfo(request):
groupdata = [ {
'id': g.id,
'name': g.groupname,
'sort': g.sortkey,
} for g in MailingListGroup.objects.all()]
listdata = [ {
'id': l.id,