Class: Hyrax::WorksSearchBuilder

Inherits:
SearchBuilder 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

Instance Method Details

#only_works?Boolean

Returns:

  • (Boolean)


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

def only_works?
  true
end