Changes between Version 4 and Version 5 of Ticket #28297


Ignore:
Timestamp:
06/10/2017 11:24:48 PM (2 years ago)
Author:
Marcus Renno
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28297 – Description

    v4 v5  
    3030self.queryset = self.queryset.annotate(available=Count('steps__ingredients', distinct=True))
    3131self.queryset = self.queryset.filter(total=F('available'))
     32#I feel like this order_by 'pk' or 'id' is bugging the query. If I remove this order_by I couldn't replicate the problem yet. As I said it doesn't happen 100%.
     33return self.queryset.order_by('pk')
    3234}}}
    3335
Back to Top