fix(series): resolve missing series in koreader catalog by id

The KOReader plugin previously matched series by name, which caused
issues for series with identical names or special characters. This
updates the plugin and backend to use the exact series ID for
navigation and filtering, ensuring all series load reliably. Also
bumps the KOReader plugin version to 1.0.1.

Closes #466
This commit is contained in:
neon
2026-06-29 18:08:58 +00:00
parent a88d27a0d5
commit db3d1a07af
11 changed files with 442 additions and 99 deletions
@@ -872,7 +872,11 @@ function BookOrbitCatalog:paramsForEntry(section, entry)
elseif section == "authors" then
params.author = entry.id
elseif section == "series" then
params.series = entry.id
if entry.seriesId then
params.seriesId = tonumber(entry.seriesId)
else
params.series = entry.id
end
params.sort = "series"
end
return params
+1 -1
View File
@@ -38,7 +38,7 @@ local BookOrbitMenuPin = require("bookorbit_menu_pin")
local BookOrbitSweep = require("bookorbit_sweep")
local BookOrbitUpdater = require("bookorbit_updater")
local PLUGIN_VERSION = "1.0.0"
local PLUGIN_VERSION = "1.0.1"
local SYNC_STRATEGY = {
PROMPT = 1,