Class: Hyrax::WorksSearchBuilder

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

Overview

Returns all works, either active or suppressed. This should only be used by an admin user

Direct Known Subclasses

Dashboard::WorksSearchBuilder

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)

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

def only_works?
  true
end