From 1927735c85a772509759f390f77a125ee3941c2a Mon Sep 17 00:00:00 2001 From: Tanner Prestegard <tanner.prestegard@ligo.org> Date: Mon, 29 Oct 2018 13:34:45 -0500 Subject: [PATCH] Add ordering for superevent GOPs list view in API --- gracedb/api/v1/superevents/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gracedb/api/v1/superevents/views.py b/gracedb/api/v1/superevents/views.py index ca4b2faba..94b2a17d8 100644 --- a/gracedb/api/v1/superevents/views.py +++ b/gracedb/api/v1/superevents/views.py @@ -374,6 +374,7 @@ class SupereventGroupObjectPermissionViewSet(SafeCreateMixin, permission_classes = (permissions.IsAuthenticatedOrReadOnly, SupereventGroupObjectPermissionPermissions,) pagination_class = BasePaginationFactory(results_name='permissions') + list_view_order_by = ('group',) @action(methods=['post'], detail=False) def modify(self, request, superevent_id): -- GitLab