Class: Hyrax::HomepageSearchBuilder

Inherits:
SearchBuilder
  • Object
show all
Includes:
FilterByType
Defined in:
app/search_builders/hyrax/homepage_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 included from SearchFilters

#gated_discovery_filters, #with_access

Methods included from FilterSuppressed

#only_active_works

Instance Method Details

#only_works?Boolean

Returns:

  • (Boolean)

6
7
8
# File 'app/search_builders/hyrax/homepage_search_builder.rb', line 6

def only_works?
  true
end