commit | 81935826451b4cedb5f4e257f65f12c48cd22339 | [log] [tgz] |
---|---|---|
author | Rucha Mahabal <ruchamahabal2@gmail.com> | Tue Sep 15 18:53:38 2020 +0530 |
committer | Rucha Mahabal <ruchamahabal2@gmail.com> | Tue Sep 15 18:53:38 2020 +0530 |
tree | ef8beca1cd3985b7423bda75fee403fc62aa2bed | |
parent | 253936c8df4067be92dc2ae0d342ba440bf6572b [diff] |
fix: codacy issue
diff --git a/erpnext/education/doctype/program_enrollment/program_enrollment.js b/erpnext/education/doctype/program_enrollment/program_enrollment.js index 19edf6d..f9c65fb 100644 --- a/erpnext/education/doctype/program_enrollment/program_enrollment.js +++ b/erpnext/education/doctype/program_enrollment/program_enrollment.js
@@ -32,7 +32,7 @@ }; if (frm.doc.program) { - frm.set_query('course', 'courses', function(doc, cdt, cdn) { + frm.set_query('course', 'courses', function() { return { query: 'erpnext.education.doctype.program_enrollment.program_enrollment.get_program_courses', filters: {