-
Notifications
You must be signed in to change notification settings - Fork 0
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
After split, Show pages' items list includes the filesets of child works #817
Comments
Overrides logic related to media viewers to prioritize UV in all cases, and fallback to PDFjs as much as possible, regardless of feature flipper setting. Refs - samvera/hyku#2336 - #817 - Clean up views related to media viewers - Better documentation of overrides - Remove duplicated file set indexer decorator
Thoughts on an override to the indexers? Will it have negative consequences?
update 1: this didn't fully solve the problem. I still see the child filesets in the items section but I don't see them in the UV. I think it's because #list_of_item_ids_to_display also needs to filter them out for the view update 2:
=> 🎉 |
Per LaRita, koppie and dassie work as expected. |
Appears to be due to IiifPrint's indexing that includes descendents for OCR purposes. |
# Story Refs - #817 # Expected Behavior Before Changes Universal viewer on parent work showed each page twice. # Expected Behavior After Changes Pages are no longer duplicated. # Screenshots / Video <details> <summary></summary> ![Screenshot 2024-09-26 at 11 59 51 AM](https://github.com/user-attachments/assets/8aae255b-e308-45fb-b59b-72baa40ec62e) </details> # Notes
QA Results: ✅ PassedTested with work https://adl.s2.adventistdigitallibrary.org/concern/generic_works/9854b255-38ee-4cdd-95cf-004b9f8d324a?locale=en ScreenshotsUV does not duplicate pagesBefore a reindex, child work filesets are included in itemsAfter edit/save (to reindex) child work filesets are not included in items |
Working as expected when tested in ADL staging. Sample work: https://adl.s2.adventistdigitallibrary.org/concern/journal_articles/lake_union_herald_2023_05_18_19_how_shall_we_go?locale=en Viewer shows the PDF once, and the items list has only page number child works. |
Summary
Per Katharine,
I tested with my own 6 page PDF.
https://adl.s2.adventistdigitallibrary.org/concern/generic_works/538a6bcf-e2b7-429e-b15a-f19530a9a7d9?locale=en
BUGS:
The splitting worked, but we have double the number of child works showing in the items list. On Production we usually only see the child works with page numbers attached. However, on staging, there are a string of JPEGs in the item list.
All child works are showing in the UV, so the work is duplicated in the UV.
Acceptance Criteria
Screenshots or Video
STAGING
PRODUCTION
Testing Instructions
Ensure that feature flipper is set to universal viewer. Find a work with child works.
Select edit and save to reindex the parent work.
Create a new work with a PDF to split.
Notes
related issue: samvera/hyrax#6767
The text was updated successfully, but these errors were encountered: