commit | a6acdda09496b85a48ea00a1a96dc3243730f51c | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Fri Mar 01 14:41:32 2013 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Fri Mar 01 14:41:32 2013 +0530 |
tree | 59e3e81aaa72e908c2abcfaee12992a74a1264b2 | |
parent | 57f83ed36b2ae371dbdb971698569ed9317bfe8e [diff] [blame] |
fixes in calendar event display on desktop
diff --git a/startup/startup.py b/startup/startup.py index c74c596..89c0336 100644 --- a/startup/startup.py +++ b/startup/startup.py
@@ -55,7 +55,7 @@ SELECT COUNT(*) FROM `tabEvent` WHERE owner = %s AND event_type != 'Cancel' - AND event_date = %s""", ( + AND %s between date(starts_on) and date(ends_on)""", ( webnotes.session.user, nowdate())) return todays_events[0][0]