mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
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:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user