We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 451e508 commit 441f969Copy full SHA for 441f969
2 files changed
appsTeacher/groupsAmountsReports/app.js
@@ -41,7 +41,7 @@ module.exports = function init(site) {
41
};
42
43
let where = req.data;
44
- if (where.dateFrom > where.ToFrom) {
+ if (where.dateFrom > where.dateTo || !where.dateTo) {
45
response.error = "Dates is Wrong";
46
res.json(response);
47
return;
appsTeacher/studentAmountsReports/app.js
0 commit comments