mirror of
https://github.com/etesync/server
synced 2024-12-27 09:48:24 +00:00
Item revisions: don't exclude current, let the client decide.
This commit is contained in:
parent
68365f5d75
commit
2da49bb95e
@ -277,7 +277,7 @@ class CollectionItemViewSet(BaseViewSet):
|
||||
limit = int(request.GET.get('limit', 50))
|
||||
iterator = request.GET.get('iterator', None)
|
||||
|
||||
queryset = item.revisions.exclude(current=True).order_by('-id')
|
||||
queryset = item.revisions.order_by('-id')
|
||||
|
||||
if iterator is not None:
|
||||
iterator = get_object_or_404(queryset, uid=iterator)
|
||||
|
Loading…
Reference in New Issue
Block a user