fix: ignore user type for instructor field in course and batch form

This commit is contained in:
Jannat Patel
2024-11-08 14:57:11 +05:30
parent 2d5c76e106
commit 4e61d569ac
2 changed files with 2 additions and 0 deletions

View File

@@ -83,6 +83,7 @@
v-model="instructors" v-model="instructors"
doctype="User" doctype="User"
:label="__('Instructors')" :label="__('Instructors')"
:filters="{ ignore_user_type: 1 }"
/> />
<div class="mb-4"> <div class="mb-4">
<FormControl <FormControl

View File

@@ -152,6 +152,7 @@
v-model="instructors" v-model="instructors"
doctype="User" doctype="User"
:label="__('Instructors')" :label="__('Instructors')"
:filters="{ ignore_user_type: 1 }"
:required="true" :required="true"
/> />
</div> </div>