Merge pull request #21731 from prssanna/custom-chart-fix

fix: add heatmap_year parameter to get
This commit is contained in:
Shivam Mishra 2020-05-14 18:27:07 +05:30 committed by GitHub
commit 0fbc96cc8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ from frappe.utils.nestedset import get_descendants_of
@frappe.whitelist()
@cache_source
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:
chart = frappe.get_doc('Dashboard Chart', chart_name)
else: