Class: Hyrax::My::CollectionsSearchBuilder

Inherits:
SearchBuilder
  • Object
show all
Includes:
FilterByType
Defined in:
app/search_builders/hyrax/my/collections_search_builder.rb

Overview

Added to allow for the My controller to show only things I have edit access to

Instance Method Summary collapse

Methods included from FilterByType

#filter_models

Methods inherited from SearchBuilder

#show_only_resources_deposited_by_current_user

Methods included from SearchBuilderBehavior

#discovery_permissions

Instance Method Details

#only_collections?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'app/search_builders/hyrax/my/collections_search_builder.rb', line 5

def only_collections?
  true
end