-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate_work_url method from iiif print does not want a hash
t wants a solr document. lets be consistant about what we give it This change parallels one from Adventist. fixes scientist-softserv/adventist-dl#750 ref: - #2190
- Loading branch information
1 parent
62b7d9c
commit 2ee3d3b
Showing
6 changed files
with
6 additions
and
6 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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<%# Override Hyrax 3.4.1 to remove thumbnail link supression and use default collection thumbnail %> | ||
<div class="col-md-3"> | ||
<% value = collection_thumbnail(document, {}, counter: document_counter_with_offset(document_counter)) %> | ||
<%= link_to value, generate_work_url(document.to_h, request)%> | ||
<%= link_to value, generate_work_url(document, request)%> | ||
</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
2 changes: 1 addition & 1 deletion
2
app/views/themes/institutional_repository/hyrax/homepage/_recent_document.html.erb
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
2 changes: 1 addition & 1 deletion
2
app/views/themes/neutral_repository/hyrax/homepage/_recent_document.html.erb
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