mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fetch enough items to fill at lest one new page
This commit is contained in:
@@ -611,7 +611,8 @@ end
|
||||
function OPDSBrowser:onNext()
|
||||
DEBUG("fetch next page catalog")
|
||||
local hrefs = self.item_table.hrefs
|
||||
if hrefs and hrefs.next then
|
||||
local page_num = self.page_num
|
||||
while page_num == self.page_num and hrefs and hrefs.next do
|
||||
self:appendCatalog(hrefs.next)
|
||||
end
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user