fix: filter when getting programming exercise title when adding to lesson
This commit is contained in:
@@ -79,7 +79,9 @@ export class Program {
|
||||
}
|
||||
call("frappe.client.get_value", {
|
||||
doctype: 'LMS Programming Exercise',
|
||||
name: exercise,
|
||||
filters: {
|
||||
name: exercise
|
||||
},
|
||||
fieldname: "title"
|
||||
}).then((data: { title: string }) => {
|
||||
this.wrapper.innerHTML = `<div class='border rounded-md p-4 text-center bg-surface-menu-bar mb-4'>
|
||||
|
||||
Reference in New Issue
Block a user