fix: meta for batches

This commit is contained in:
Jannat Patel
2024-04-06 11:17:25 +05:30
parent d2713d7824
commit fbe1423edd

View File

@@ -56,7 +56,7 @@ def get_meta(app_path):
"link": "/batches",
}
if re.match(r"^batches/.*$", app_path):
if re.match(r"^/batches/details/.*$", app_path):
batch_name = app_path.split("/")[2]
batch = frappe.db.get_value(
"LMS Batch",