diff --git a/request-management-api/request_api/models/FOIMinistryRequests.py b/request-management-api/request_api/models/FOIMinistryRequests.py index fe2b456b5..fd3f6947b 100644 --- a/request-management-api/request_api/models/FOIMinistryRequests.py +++ b/request-management-api/request_api/models/FOIMinistryRequests.py @@ -361,9 +361,6 @@ def getrequestssubquery(cls, groups, filterfields, keyword, additionalfilter, us #aliase for getting ministry restricted flag from FOIRestrictedMinistryRequest ministry_restricted_requests = aliased(FOIRestrictedMinistryRequest) - #alias for filtering closed OIPC requests (where outcome is selected) - oipc_requests = aliased(FOIRequestOIPC) - #filter/search if(len(filterfields) > 0 and keyword is not None): filtercondition = []