mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Exporter: fix order for Readwise (#10824)
Exported highlights are good sorted by position, page numbers could be wrong. Closes #10817. For reference: https://readwise.io/api_deets
This commit is contained in:
@@ -106,7 +106,7 @@ function ReadwiseExporter:createHighlights(booknotes)
|
||||
category = "books",
|
||||
note = clipping.note,
|
||||
location = clipping.page,
|
||||
location_type = "page",
|
||||
location_type = "order",
|
||||
highlighted_at = os.date("!%Y-%m-%dT%TZ", clipping.time),
|
||||
}
|
||||
table.insert(highlights, highlight)
|
||||
|
||||
Reference in New Issue
Block a user