summaryrefslogtreecommitdiff
path: root/app/models/occurrence.rb
diff options
context:
space:
mode:
authorCharlie Root <root@web.ccc.local>2025-01-28 22:47:15 +0100
committerCharlie Root <root@web.ccc.local>2025-01-28 22:47:15 +0100
commitc4296b59a7f9d667d295f9c37b71f7849b818fb3 (patch)
treeccbace3a183c075991a0dfeb1dd9e6f25e901cf3 /app/models/occurrence.rb
parentdfbaadf0210b02a8bb54380c2c50302413dcf6d6 (diff)
Big overhaul patch and style changes
Diffstat (limited to 'app/models/occurrence.rb')
-rw-r--r--app/models/occurrence.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/occurrence.rb b/app/models/occurrence.rb
index 591e1e0..62432d5 100644
--- a/app/models/occurrence.rb
+++ b/app/models/occurrence.rb
@@ -16,7 +16,8 @@ class Occurrence < ActiveRecord::Base
16 :include => :node, 16 :include => :node,
17 :conditions => [ 17 :conditions => [
18 "start_time > ? AND end_time < ?", start_time, end_time 18 "start_time > ? AND end_time < ?", start_time, end_time
19 ] 19 ],
20 :order => "start_time"
20 ) 21 )
21 end 22 end
22 23