mirror of
https://github.com/frappe/lms.git
synced 2026-04-26 18:49:26 +03:00
fix: meta for batches
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user