Commit 30c5e813 authored by Gladys Forte's avatar Gladys Forte

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

* commit '0e844e40':
  template filetr fix
parents 94051b1d 0e844e40
...@@ -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"
) )
......
...@@ -55,9 +55,9 @@ class ChangeRequestTemplatesViewset(viewsets.ModelViewSet): ...@@ -55,9 +55,9 @@ class ChangeRequestTemplatesViewset(viewsets.ModelViewSet):
ordering_fields = '__all__' ordering_fields = '__all__'
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