Sha256: e8f6a19f84136c361ceb57e15cb8b72dc760ab59e4ed656ee6c90d062802bad4

Contents?: true

Size: 383 Bytes

Versions: 58

Compression:

Stored size: 383 Bytes

Contents

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

58 entries across 58 versions & 2 rubygems

Version Path
hyrax-2.9.6 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.9.5 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.9.4 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.9.3 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.9.2 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.9.1 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.9.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.8.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.7.2 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.7.1 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.7.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.6.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.0.0.pre.rc1 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.0.0.pre.beta3 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.5.1 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.5.0 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.0.0.pre.beta2 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.4.1 app/search_builders/hyrax/work_search_builder.rb
hyrax-3.0.0.pre.beta1 app/search_builders/hyrax/work_search_builder.rb
hyrax-2.4.0 app/search_builders/hyrax/work_search_builder.rb