UB-Mannheim / kitodo-presentation-docker

Docker configuration for Kitodo.Presentation
GNU General Public License v3.0
4 stars 3 forks source link

[presentation] Fix handling of hashed pages #18

Open stweil opened 1 year ago

stweil commented 1 year ago

Test case:

  1. Run OCR for page n.
  2. Run OCR for whole book.

Now the presentation shows the fulltext for most pages without further user interaction. It also displays the selector for the fulltext display on/off and does not show the buttons for OCR on demand.

For page n the fulltext is only shown after pressing the OCR on demand button.

Potential fix:

Remove the cHash part in the URL for page n. Then the fulltext is shown like for other pages. So either the old hash for that page and create a new one, or – maybe better and easier – don't use hashing for all presentation pages.

See also

csidirop commented 1 year ago

For the record: Adding all remaining presentation related parametes has no effect.

'tx_dlf[id]',
'set[mets]',
#additional:
'tx__[action]',
'tx__[controller]',
'tx_dlf[page]',
'tx_dlf[double]',
'tx_dlf[pagegrid]'