Commit 03a03b49 authored by Gladys Forte's avatar Gladys Forte

filter status

parent 1a2435d8
......@@ -186,11 +186,13 @@ def filter_status(base_queryset,
status):
return_queryset = base_queryset
try:
if status:
if status == 'closed':
status = 'Completed & Accepted'
if status:
return_queryset = return_queryset.filter(
status__iexact=status
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment