diff --git a/processes/views.py b/processes/views.py index 9c33e66..a8a1c6e 100644 --- a/processes/views.py +++ b/processes/views.py @@ -45,7 +45,10 @@ def request_list(request): status_q = (request.GET.get('status') or '').strip() affairs_q = (request.GET.get('affairs') or '').strip() broker_q = (request.GET.get('broker') or '').strip() - step_q = (request.GET.get('step') or '').strip() + if request.user.profile.roles.filter(slug='inst'): + step_q = (request.GET.get('step') or '6').strip() + else: + step_q = (request.GET.get('step') or '').strip() if status_q: instances = instances.filter(status=status_q)