esmero / strawberryfield

A Field of strawberries
GNU Lesser General Public License v3.0
10 stars 5 forks source link

ISSUE-305: Don't use parent_top_sequence_id if the result Node is the same as the c… #306

Closed DiegoPino closed 6 months ago

DiegoPino commented 6 months ago

…aller node (the node that shows the book reader)

See #305

DiegoPino commented 6 months ago

@alliomeria won't merge this one yet. I know it works but only I have tested it ...

DiegoPino commented 6 months ago

And I will merge now

DiegoPino commented 6 months ago

@alliomeria this fix is provisional and deals with Objects that are children of a CWS but have Bookreader enabled directly on them instead of doing the normal thing to do. Show the viewer at the CWS side. The full / better fix in the future (but not on this module) is to allow IABookreader to use A) IIIF Content Search API OR store in the JS the actual image of each page as an index, that way we could return from search which images matched and at the IABookreader level discard results from images not being present (instead of the internal behavior of their JS which is just a page number)