From c2cd9f44f3b1310d1bf72f02b85b5ec9a822f0bf Mon Sep 17 00:00:00 2001 From: lordjay23 Date: Mon, 20 Nov 2017 21:44:21 -0500 Subject: [PATCH] OPDS AllTitles Fix --- mylar/opds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mylar/opds.py b/mylar/opds.py index bc22925e..34780f13 100644 --- a/mylar/opds.py +++ b/mylar/opds.py @@ -261,10 +261,10 @@ class OPDS(object): ) if len(entries) > (index + 30): links.append( - getLink(href='%s?cmd=Publishers&index=%s' % (self.opdsroot, index+30), type='application/atom+xml; profile=opds-catalog; kind=navigation', rel='next')) + getLink(href='%s?cmd=AllTitles&index=%s' % (self.opdsroot, index+30), type='application/atom+xml; profile=opds-catalog; kind=navigation', rel='next')) if index >= 30: links.append( - getLink(href='%s?cmd=Publishers&index=%s' % (self.opdsroot, index-30), type='application/atom+xml; profile=opds-catalog; kind=navigation', rel='previous')) + getLink(href='%s?cmd=AllTitles&index=%s' % (self.opdsroot, index-30), type='application/atom+xml; profile=opds-catalog; kind=navigation', rel='previous')) feed['links'] = links feed['entries'] = entries[index:(index+30)]