Skip to content

OPDS: fix Search#14425

Merged
hius07 merged 1 commit into
koreader:masterfrom
hius07:opds-search
Oct 8, 2025
Merged

OPDS: fix Search#14425
hius07 merged 1 commit into
koreader:masterfrom
hius07:opds-search

Conversation

@hius07

@hius07 hius07 commented Oct 6, 2025

Copy link
Copy Markdown
Member

Follow-up to #14248.

The second result of gsub (total number of substitutions made) was passed as the second arg to

function OPDSBrowser:updateCatalog(item_url, paths_updated)


This change is Reviewable

@hius07 hius07 added the OPDS label Oct 6, 2025
Comment on lines +783 to +784
item_url = item_url:gsub("%%s", function() return search_str end)
self:updateCatalog(item_url)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fwiw I think we tend to use socket.skip(), or at least a bunch of the code does. (Not an expression for any preference.)

@hius07 hius07 merged commit f0af3ae into koreader:master Oct 8, 2025
4 checks passed
@hius07 hius07 deleted the opds-search branch October 8, 2025 06:17
@hius07 hius07 added this to the 2025.10 milestone Oct 8, 2025
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants