Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Account for IIIF Print logic #787

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Conversation

kirkkwang
Copy link
Contributor

This commit will guard the work indexing with a Flipflop check so we don't get stuck at the AttachFilesToWorkJob.

Story

Refs #772

Expected Behavior Before Changes

If an admin switched to UV which uses IIIF Print logic, the works never get completely created.

Expected Behavior After Changes

The works complete.

This commit will guard the work indexing with a Flipflop check so we
don't get stuck at the AttachFilesToWorkJob.
@@ -21,7 +21,7 @@ def generate_solr_document
end

def full_text(file_set_id)
return if file_set_id.blank?
return if !Flipflop.default_pdf_viewer? || file_set_id.blank?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently snippets is only available for PDF.js

@kirkkwang kirkkwang merged commit ce113aa into main Sep 12, 2023
7 checks passed
@kirkkwang kirkkwang deleted the i772-fix-for-iiif-print branch September 12, 2023 19:33
jeremyf pushed a commit to samvera/hyku that referenced this pull request Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants