Sha256: 9146bb45a1891757ce2178a53219b3e26c70137b646b2d11791f6a35845a291f

Contents?: true

Size: 458 Bytes

Versions: 62

Compression:

Stored size: 458 Bytes

Contents

module CurationConcerns::SearchPathsHelper
  def search_path_for_my_works(opts = {})
    params_for_my_works = { 'f[generic_type_sim][]' => 'Work', works: 'mine' }
    main_app.search_catalog_path(params_for_my_works.merge(opts))
  end

  def search_path_for_my_collections(opts = {})
    params_for_my_collections = { 'f[generic_type_sim][]' => 'Collection', works: 'mine' }
    main_app.search_catalog_path(params_for_my_collections.merge(opts))
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.7 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-2.0.0 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-2.0.0.rc2 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.6 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.5 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.4 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.3 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.2 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-2.0.0.rc1 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.1 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.0 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.7.0.beta1 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.6.3 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.6.2 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.6.1 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.6.0 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.5.0 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.4.0 app/helpers/curation_concerns/search_paths_helper.rb
curation_concerns-1.3.3 app/helpers/curation_concerns/search_paths_helper.rb