diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-10-07 20:51:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-10-07 20:51:27 -0300 |
commit | 254daf32716541dcf40d04af43060368eeea4e42 (patch) | |
tree | 9c912c4859d1933a75ef78c00bf2d7e8e6d114d2 | |
parent | 00a5863f4fab30fd7aec42d971dfb851f5cf22d1 (diff) | |
download | utils-doc-main.tar.gz utils-doc-main.tar.bz2 |
Fix: export-koreader-note: sort annotationsmain
-rwxr-xr-x | export-koreader-note | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/export-koreader-note b/export-koreader-note index 307e575..c70a96a 100755 --- a/export-koreader-note +++ b/export-koreader-note @@ -36,7 +36,8 @@ bookmarks = data.bookmarks annotations = data.annotations -- Sort -table.sort(bookmarks, compare) +table.sort(bookmarks, compare) +table.sort(annotations, compare) -- Iterate over bookmarks for key, item in ipairs(bookmarks) do |