Class: Hyrax::My::WorksSearchBuilder
- Inherits:
-
SearchBuilder
- Object
- SearchBuilder
- SearchBuilder
- Hyrax::My::WorksSearchBuilder
- Includes:
- FilterByType
- Defined in:
- app/search_builders/hyrax/my/works_search_builder.rb
Overview
Added to allow for the Hyrax::My::WorksController to show only things I have deposited If the work went through mediated deposit, I may no longer have edit access to it.
Instance Method Summary collapse
Methods included from FilterByType
Methods inherited from SearchBuilder
#show_only_resources_deposited_by_current_user
Methods included from SearchBuilderBehavior
Instance Method Details
#only_works? ⇒ Boolean
12 13 14 |
# File 'app/search_builders/hyrax/my/works_search_builder.rb', line 12 def only_works? true end |