fix: changed jobs route to job-openings
This commit is contained in:
15
lms/patches/v1_0/change_jobs_url.py
Normal file
15
lms/patches/v1_0/change_jobs_url.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
jobs_link = frappe.db.exists(
|
||||
"Top Bar Item",
|
||||
{
|
||||
"label": "Jobs",
|
||||
"url": "/jobs",
|
||||
"parent_label": "Explore",
|
||||
},
|
||||
)
|
||||
|
||||
if jobs_link:
|
||||
frappe.db.set_value("Top Bar Item", jobs_link, "url", "/job-openings")
|
||||
Reference in New Issue
Block a user