Class: Hyrax::ActiveWorksSearchBuilder
- Inherits:
-
SearchBuilder
- Object
- Blacklight::SearchBuilder
- SearchBuilder
- Hyrax::ActiveWorksSearchBuilder
- Includes:
- FilterByType
- Defined in:
- app/search_builders/hyrax/active_works_search_builder.rb
Overview
Finds a list of works. It returns no result if you don’t have access to the requested work. If the work is suppressed (due to being in a workflow), then it checks to see if the current_user has any workflow role on the given work.
Direct Known Subclasses
Instance Method Summary collapse
Methods included from FilterByType
Methods inherited from SearchBuilder
#show_only_resources_deposited_by_current_user
Methods included from SearchFilters
#discovery_permissions, #gated_discovery_filters
Methods included from FilterSuppressed
Instance Method Details
#only_works? ⇒ Boolean
9 10 11 |
# File 'app/search_builders/hyrax/active_works_search_builder.rb', line 9 def only_works? true end |