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
reviewable/pr10825/r2
hius07 9 months ago committed by GitHub
parent 7e628958b6
commit f4f5af5f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save