From 0cb1a648369bb5e9ba3db570b3b5c3d2f39c4d34 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Wed, 11 Jul 2012 18:05:28 +0200 Subject: [PATCH] Include listgroup sortkey in the JSON API --- pgweb/lists/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pgweb/lists/views.py b/pgweb/lists/views.py index c624096f..99e1f0c6 100644 --- a/pgweb/lists/views.py +++ b/pgweb/lists/views.py @@ -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, -- 2.39.5