Sha256: f98b158c83b1aa20cd6641badc9833ead23b6ff22f850cb7dfe370e63747b3f6

Contents?: true

Size: 413 Bytes

Versions: 25

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  # Finds a single work result. It returns no result if you don't have
  # access to the requested work.  If the work is suppressed (due to being in a
  # workflow), then it checks to see if the current_user has any workflow role
  # on the given work.
  class WorkSearchBuilder < ::SearchBuilder
    include SingleResult
    include FilterSuppressedWithRoles
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/search_builders/hyrax/work_search_builder.rb
hyrax-5.0.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-5.0.0.rc3 app/search_builders/hyrax/work_search_builder.rb
hyrax-5.0.0.rc2 app/search_builders/hyrax/work_search_builder.rb
hyrax-5.0.0.rc1 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.6.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-4.0.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-4.0.0.rc3 app/search_builders/hyrax/work_search_builder.rb
hyrax-4.0.0.rc2 app/search_builders/hyrax/work_search_builder.rb
hyrax-4.0.0.rc1 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.5.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-4.0.0.beta2 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.4.2 app/search_builders/hyrax/work_search_builder.rb
hyrax-4.0.0.beta1 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.4.1 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.4.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.3.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.2.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.1.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.0.2 app/search_builders/hyrax/work_search_builder.rb