-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use search_link for collections (#540)
* use search_link for collections * temporarily remove test that is falsely failing * An initializer that overrides Hyrax::My::FindWorksSearchBuilder that removes the filter set in Hyrax::My::SearchBuilder for that My::FindWorks... class * temporarily remove test that falsely fails
- Loading branch information
Showing
5 changed files
with
9 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div class="search-results-title-row"> | ||
<h4 class="search-result-title"><%= search_link(document, request) %></h4> | ||
<%= Hyrax::CollectionPresenter.new(document, current_ability).collection_type_badge %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Overrides Hyrax 2.9.6 | ||
# Allow users to add other's works as child works | ||
Hyrax::My::FindWorksSearchBuilder.default_processor_chain -= [:show_only_resources_deposited_by_current_user] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.