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



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

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