CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-Newberry-Italian

Wrong lines in text preview

Open
#76 1 comment 0 reactions 1 assignee Claimed by @thehabes View on GitHub
bug enhancement
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When the JSONLDExporter builds the otherContent.resources on a particular canvas, it looks to
```sql
SELECT * FROM transcription WHERE projectID = ? AND folio = ? ORDER BY x, y
```
Instead of looking to the annotation store.

The front end makes calls to the annotation store at certain times and overwrites the cached lines with the correct lines, so often you do not see this mistake in the UI. However, createPreviewPages() pulls this out and populates the wrong lines.

It is a simple fix in the exporter, and I may be able to pull more GETs out of the client side code which will help speed things up.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.