Signed-off-by: Stephen Finucane <[email protected]>
Closes: #213
Cc: Simon Glass <[email protected]>
---
patchwork/views/user.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/patchwork/views/user.py b/patchwork/views/user.py
index 36cd4b9d..af1da121 100644
--- a/patchwork/views/user.py
+++ b/patchwork/views/user.py
@@ -221,8 +221,10 @@ def todo_list(request, project_id):
filter_settings=filter_settings,
patches=patches)
- context['action_required_states'] = \
- State.objects.filter(action_required=True).all()
+ context['bundles'] = request.user.bundles.all()
+ context['action_required_states'] = State.objects.filter(
+ action_required=True).all()
+
return render(request, 'patchwork/todo-list.html', context)
--
2.17.1
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork