Commit 0e844e40 authored by Gladys Forte's avatar Gladys Forte

template filetr fix

parent 94051b1d
...@@ -77,8 +77,8 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet): ...@@ -77,8 +77,8 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet):
search_fields = ( search_fields = (
"form_code", "requested_to_template_id", "requested_by_user__name", "form_code", "requested_to_template_id", "requested_by_user__name",
"requested_by_user__code", "requested_by_department__name", "requested_by_user__code", "requested_by_department__name",
"requested_to_company__name", "requested_to_department__name" "requested_to_company__name", "requested_to_department__name",
"requested_to_user__name", "requested_to_template_name" "requested_to_user__name", "requested_to_template_name",
"requested_to_objective", "requested_to_priority", "description" "requested_to_objective", "requested_to_priority", "description"
) )
......
...@@ -56,8 +56,8 @@ class ChangeRequestTemplatesViewset(viewsets.ModelViewSet): ...@@ -56,8 +56,8 @@ class ChangeRequestTemplatesViewset(viewsets.ModelViewSet):
search_fields = ( search_fields = (
"template_no", "requested_to_template_id", "created_by_user__name", "template_no", "requested_to_template_id", "created_by_user__name",
"created_by_user__code", "created_by_department__name", "created_by_user__code", "created_by_department__name",
"requested_to_company__name", "requested_to_department__name" "requested_to_company__name", "requested_to_department__name",
"requested_to_user__name", "requested_to_template_name" "requested_to_user__name", "requested_to_template_name",
"requested_to_objective", "requested_to_priority", "description" "requested_to_objective", "requested_to_priority", "description"
) )
......
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