From 889bc2b1c7480874c4d4b0c2460e8e39c7866571 Mon Sep 17 00:00:00 2001 From: Devin Slauenwhite Date: Tue, 30 Apr 2024 20:27:29 -0400 Subject: [PATCH 01/14] fix: check if role exists before renaming --- lms/patches/v1_0/rename_evaluator_role.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/patches/v1_0/rename_evaluator_role.py b/lms/patches/v1_0/rename_evaluator_role.py index ba8fffd4..26a1d759 100644 --- a/lms/patches/v1_0/rename_evaluator_role.py +++ b/lms/patches/v1_0/rename_evaluator_role.py @@ -2,5 +2,5 @@ import frappe def execute(): - if frappe.db.exists("Role", "Class Evaluator"): + if frappe.db.exists("Role", "Class Evaluator") and not frappe.db.exists("Role", "Batch Evaluator"): frappe.rename_doc("Role", "Class Evaluator", "Batch Evaluator") From 0c9fdc6534056b6989a482b51602ac2170ef0330 Mon Sep 17 00:00:00 2001 From: Arun Mathai SK Date: Thu, 2 May 2024 13:00:46 +0000 Subject: [PATCH 02/14] feat: CertifiedParticipants.vue page is now searchable --- frontend/src/pages/CertifiedParticipants.vue | 32 +++++++++-- lms/lms/api.py | 56 ++++++++++---------- 2 files changed, 57 insertions(+), 31 deletions(-) diff --git a/frontend/src/pages/CertifiedParticipants.vue b/frontend/src/pages/CertifiedParticipants.vue index 93bba06a..7e0f5dc3 100644 --- a/frontend/src/pages/CertifiedParticipants.vue +++ b/frontend/src/pages/CertifiedParticipants.vue @@ -4,6 +4,20 @@ > + +
+ + + +
diff --git a/frontend/src/components/BatchStudents.vue b/frontend/src/components/BatchStudents.vue index ca3271fc..dc73322f 100644 --- a/frontend/src/components/BatchStudents.vue +++ b/frontend/src/components/BatchStudents.vue @@ -52,7 +52,10 @@ -
+