feat: category settings

This commit is contained in:
Jannat Patel
2024-09-23 16:11:17 +05:30
parent 7c90ca4040
commit dc2bf9f13e
9 changed files with 218 additions and 49 deletions

View File

@@ -15,12 +15,13 @@
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Category",
"reqd": 1,
"unique": 1
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-06-15 15:14:11.341961",
"modified": "2024-09-23 15:25:21.319427",
"modified_by": "Administrator",
"module": "LMS",
"name": "LMS Category",
@@ -55,5 +56,6 @@
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"title_field": "category"
"title_field": "category",
"track_changes": 1
}

View File

@@ -16,10 +16,12 @@
"field_order": [
"title",
"video_link",
"image",
"column_break_3",
"instructors",
"tags",
"column_break_htgn",
"image",
"category",
"status",
"section_break_7",
"published",
@@ -237,6 +239,16 @@
"fieldname": "certification_tab",
"fieldtype": "Tab Break",
"label": "Certification"
},
{
"fieldname": "column_break_htgn",
"fieldtype": "Column Break"
},
{
"fieldname": "category",
"fieldtype": "Link",
"label": "Category",
"options": "LMS Category"
}
],
"is_published_field": "published",
@@ -263,7 +275,7 @@
}
],
"make_attachments_public": 1,
"modified": "2024-07-12 13:54:40.474097",
"modified": "2024-09-21 10:23:58.633912",
"modified_by": "Administrator",
"module": "LMS",
"name": "LMS Course",

View File

@@ -1220,6 +1220,7 @@ def get_course_details(course):
"featured",
"disable_self_learning",
"published_on",
"category",
"status",
"paid_course",
"course_price",