Class: Hyrax::SingleAdminSetSearchBuilder

Inherits:
AdminSetSearchBuilder show all
Includes:
SingleResult
Defined in:
app/search_builders/hyrax/single_admin_set_search_builder.rb

Instance Method Summary collapse

Methods included from SingleResult

#find_one

Methods inherited from AdminSetSearchBuilder

#discovery_permissions, #gated_discovery_filters, #models

Constructor Details

#initialize(context, access = :read) ⇒ SingleAdminSetSearchBuilder

Returns a new instance of SingleAdminSetSearchBuilder.

Parameters:

  • context (#repository, #blacklight_config, #current_ability)
  • access (Symbol) (defaults to: :read)

    either :read or :edit access level to filter for



7
8
9
# File 'app/search_builders/hyrax/single_admin_set_search_builder.rb', line 7

def initialize(context, access = :read)
  super(context, access)
end