buda-base / public-digital-library

http://library.bdrc.io
5 stars 6 forks source link

An issue with the Return to BUDA link #744

Closed JannTibetan closed 2 years ago

JannTibetan commented 2 years ago
Screen Shot 2022-08-06 at 10 07 38 AM

The Return to BUDA link works well when one is on a record that was included in the original search results. However, if one starts to click on link after link and arrives at a scan that is unrelated to the original search, the Return to BUDA link still takes one back to the first record or to the initial search results (it seems to vary). Here's how it worked for me just now: I searched for Taishō > opened the Taishō record > found a Chinese sutra in the Taisho outline > viewed the scans of the sutra > clicked Return to BUDA > was returned to the Taisho record > scrolled down to the Chinese sutra in the outline (that outline node is still expanded, helpfully) > click Open Record and then click on the Work tab > click on the Sanskrit edition of the sutra > click on the thumbnail of one of the Sanskrit versions > the image viewer is launched and I peruse the text > then I wish to minimize the IIIF viewer to return to the Scans tab > my only option is RETURN TO BUDA so I click it > I am transported all the way back to the the Taishō Tripitaka record.

All that being said, a preliminary fix would be to create a button that will minimize the the IIIF viewer (see my previous issue post).

berger-n commented 2 years ago

ok it seems to be fixed now users should be brought back to results only when closing a viewer directly opened from the results list you can try it here: http://library-dev.bdrc.io/show/bdr:MW0TT0000?s=q%3D%2522taisho%2522%26lg%3Den%26t%3DInstance%26f%3Dasset%2Cinc%2Ctmp%3ApossibleAccess%26f%3Dasset%2Cinc%2Ctmp%3AcatalogOnly%26n%3D1

note that behaviour when closing a viewer opened from an outline node has also changed now it redirects you to the node record page and not to the page of the outline you came from:

image

is it ok like this? from there you can directly go to work and choose another version or click Open in outline to be redirected to the node where you came from:

image

JannTibetan commented 2 years ago

I just tried it and it worked very well for me. Thank you.