diff --git a/frontend/document/credocument.lua b/frontend/document/credocument.lua index 2748b5a68..25b057ca7 100644 --- a/frontend/document/credocument.lua +++ b/frontend/document/credocument.lua @@ -38,6 +38,7 @@ local CreDocument = Document:extend{ authors = "doc.authors", series = "doc.series.name", series_index = "doc.series.number", + identifiers = "doc.identifiers", }, -- Reasons for the fallback font ordering: diff --git a/frontend/document/document.lua b/frontend/document/document.lua index 269cfe59a..d6f35d28d 100644 --- a/frontend/document/document.lua +++ b/frontend/document/document.lua @@ -201,6 +201,7 @@ function Document:getProps(cached_doc_metadata) local language = makeNilIfEmpty(props.language or props.Language) local keywords = makeNilIfEmpty(props.keywords or props.Keywords) local description = makeNilIfEmpty(props.description or props.Description or props.subject) + local identifiers = makeNilIfEmpty(props.identifiers) return { title = title, authors = authors, @@ -209,6 +210,7 @@ function Document:getProps(cached_doc_metadata) language = language, keywords = keywords, description = description, + identifiers = identifiers } end diff --git a/plugins/coverbrowser.koplugin/bookinfomanager.lua b/plugins/coverbrowser.koplugin/bookinfomanager.lua index 35bf25c75..f907f3163 100644 --- a/plugins/coverbrowser.koplugin/bookinfomanager.lua +++ b/plugins/coverbrowser.koplugin/bookinfomanager.lua @@ -57,6 +57,7 @@ local BOOKINFO_DB_SCHEMA = [[ language TEXT, keywords TEXT, description TEXT, + identifiers TEXT, -- Cover image cover_w INTEGER, -- blitbuffer width @@ -100,6 +101,7 @@ local BOOKINFO_COLS_SET = { "cover_bb_type", "cover_bb_stride", "cover_bb_data", + "identifiers" } local bookinfo_values_sql = {} -- for "VALUES (?, ?, ?,...)" insert sql part