Skip to content

Commit a146c22

Browse files
committed
Make the API accept ordering and relations for the meeting date field.
- Legacy-Id: 14273
1 parent 0f2a79d commit a146c22

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/meeting/resources.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ class Meta:
2121
queryset = Meeting.objects.all()
2222
serializer = api.Serializer()
2323
#resource_name = 'meeting'
24+
ordering = ['date', ]
2425
filtering = {
2526
"id": ALL,
2627
"number": ALL,
27-
"date": ALL,
28+
"date": ALL_WITH_RELATIONS,
2829
"city": ALL,
2930
"country": ALL,
3031
"time_zone": ALL,

0 commit comments

Comments
 (0)