Sha256: fc51fe46d4d8edab98fa412205b9f7addb31684ee598698bf639356f4d50bc89
Contents?: true
Size: 549 Bytes
Versions: 48
Compression:
Stored size: 549 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences # This query class filters meetings for component and day class ConferenceProgramMeetingsByDay < Rectify::Query def initialize(component, day, user = nil) @component = component @day = day @user = user end def query Rectify::Query.merge( ConferenceProgramMeetings.new(@component, @user) ).query.where(start_time: @day.beginning_of_day..@day.end_of_day).order(start_time: :asc) end end end end
Version data entries
48 entries across 48 versions & 1 rubygems