2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

Pass filters to report through query parameters

This commit is contained in:
Suraj Shetty 2018-07-14 20:00:42 +05:30
parent 5df04af570
commit ced90dc19a

View File

@ -24,7 +24,8 @@ const routes = [].concat(coreRoutes, [
const { reportName } = route.params;
return {
reportName,
reportConfig: reportViewConfig[reportName] || null
reportConfig: reportViewConfig[reportName] || null,
filters: route.query
};
}
}