kitodo-presentation icon indicating copy to clipboard operation
kitodo-presentation copied to clipboard

[BUG] Incomplete calendar view for anchor METS URL after partial indexing

Open stweil opened this issue 11 months ago • 1 comments

Description

The newspaper calendar view which should show all years only shows a selection of years.

Reproduction

Steps to reproduce the behaviour:

  1. Run viewer with URL of an anchor METS file of a newspaper. It shows all years.
  2. Index a subset of the years.
  3. Run viewer like in (1). It now shows only the years from the indexed subset, but the table of contents on the left side still shows all years.

Expected Behavior

The calendar view should always show all years if it is called with a URL.

stweil avatar Mar 15 '25 16:03 stweil

The table of contents seems to use the URLs for the year METS files while the calendar does this only if no year was indexed. Otherwise the calendar uses the document id.

Maybe both table of contents and calendar should use the same kind of addressing for the single years. Would there be disadvantages if tx_dlf[id] would always point to the METS URL instead of the current mix where sometimes the document id is used?

stweil avatar Mar 15 '25 18:03 stweil