Skip to content

Commit

Permalink
Fix #3:
Browse files Browse the repository at this point in the history
Error : (1235, "This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'")
  • Loading branch information
EnriqueSoria committed May 5, 2020
1 parent c72b469 commit e6c6c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracking_analyzer/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def changelist_view(self, request, extra_context=None):
current_page + 1).object_list.values_list('pk', flat=True)

current_results = get_requests_count(
Tracker.objects.filter(pk__in=current_pks))
Tracker.objects.filter(pk__in=list(current_pks)))

for item in current_results:
item['date'] = '{date}T{hour:02d}:{minute:02d}'.format(
Expand Down

0 comments on commit e6c6c3f

Please sign in to comment.