mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Include listgroup sortkey in the JSON API
This commit is contained in:
@ -58,6 +58,7 @@ def listinfo(request):
|
|||||||
groupdata = [ {
|
groupdata = [ {
|
||||||
'id': g.id,
|
'id': g.id,
|
||||||
'name': g.groupname,
|
'name': g.groupname,
|
||||||
|
'sort': g.sortkey,
|
||||||
} for g in MailingListGroup.objects.all()]
|
} for g in MailingListGroup.objects.all()]
|
||||||
listdata = [ {
|
listdata = [ {
|
||||||
'id': l.id,
|
'id': l.id,
|
||||||
|
Reference in New Issue
Block a user