Sha256: 57b15ad39d906fbabbab158832afd4664dd59b0b6388606126035801618e0606

Contents?: true

Size: 424 Bytes

Versions: 48

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    # This query class filters meetings for component and day
    class ConferenceProgramMeetings < Rectify::Query
      def initialize(component, user = nil)
        @component = component
        @user = user
      end

      def query
        Decidim::Meetings::Meeting.where(component: @component).visible_meeting_for(@user)
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
decidim-conferences-0.26.10 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.9 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.8 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.7 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.5 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.4 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.3 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.2 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.1 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.0 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.0.rc2 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.26.0.rc1 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.25.2 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.25.1 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.25.0 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.25.0.rc4 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.25.0.rc3 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.25.0.rc2 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.25.0.rc1 app/queries/decidim/conferences/conference_program_meetings.rb
decidim-conferences-0.24.3 app/queries/decidim/conferences/conference_program_meetings.rb