diff options
Diffstat (limited to 'app/gtd/views.py')
-rw-r--r-- | app/gtd/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/gtd/views.py b/app/gtd/views.py index 80527ac..41b00ad 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -185,8 +185,7 @@ class WiredPostTodoView(ListView): template_name = 'posts/post_table.html' def get_queryset(self): - qs = WiredPost.objects.filter(user=self.request.user) - qs = qs.filter(Q(needs_update=True) | Q(is_live=0)).exclude(post_status=1) + qs = WiredPost.objects.filter(Q(needs_update=True) | Q(is_live=0)).exclude(post_status=1) unsorted_results = qs.all() return sorted(unsorted_results, key=lambda a: a.days_overdue(), reverse=True) |