Class: Sufia::MyWorksSearchBuilder

Inherits:
SearchBuilder
  • Object
show all
Includes:
CurationConcerns::FilterByType, MySearchBuilderBehavior
Defined in:
app/search_builders/sufia/my_works_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 MySearchBuilderBehavior

#discovery_permissions

Methods inherited from SearchBuilder

#show_only_resources_deposited_by_current_user

Instance Method Details

#only_works?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/search_builders/sufia/my_works_search_builder.rb', line 8

def only_works?
  true
end