fix: add heatmap_year parameter to get
This commit is contained in:
parent
ece1b4bc5a
commit
39cb749f95
@ -14,7 +14,7 @@ from frappe.utils.nestedset import get_descendants_of
|
|||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
@cache_source
|
@cache_source
|
||||||
def get(chart_name = None, chart = None, no_cache = None, filters = None, from_date = None,
|
def get(chart_name = None, chart = None, no_cache = None, filters = None, from_date = None,
|
||||||
to_date = None, timespan = None, time_interval = None):
|
to_date = None, timespan = None, time_interval = None, heatmap_year = None):
|
||||||
if chart_name:
|
if chart_name:
|
||||||
chart = frappe.get_doc('Dashboard Chart', chart_name)
|
chart = frappe.get_doc('Dashboard Chart', chart_name)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user