diff --git a/gracedb/api.py b/gracedb/api.py index 4fc78387275d97ba2576c9337d9648f93d25d273..ebfb0261be78a0507d756de9a9c51d9d86a6d00b 100644 --- a/gracedb/api.py +++ b/gracedb/api.py @@ -422,7 +422,7 @@ class EventList(APIView): d = {'error': 'Invalid query' } return Response(d,status=status.HTTP_400_BAD_REQUEST) - events = events.order_by(sort) + events = events.order_by(sort).select_subclasses() start = int(start) count = int(count)