Commit afcc6528 authored by Gladys Forte's avatar Gladys Forte

Merge pull request #394 in RMS/api-main-service from gladys-dev2 to RMSv2

* commit '03a03b49':
  filter status
parents a547c237 03a03b49
......@@ -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