orange 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module Orange
|
|
14
14
|
else
|
15
15
|
calendars = model_class.all
|
16
16
|
end
|
17
|
-
events = OrangeEvent.all(:calendar => calendars, :order => [:starts.asc]
|
17
|
+
events = OrangeEvent.all(:calendar => calendars, :starts.gt => Time.now, :order => [:starts.asc])
|
18
18
|
orange[:calendar].calendar(tag.locals.packet, {:list => events, :template => template})
|
19
19
|
end
|
20
20
|
end
|