mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: OPDS feed: Fix incorrect up URL in category group feeds. Fixes #1932992 [OPDS 'up' navigation issue](https://bugs.launchpad.net/calibre/+bug/1932992)
This commit is contained in:
parent
3dccfae35a
commit
a0e2b1c5b0
@ -596,7 +596,7 @@ def opds_categorygroup(ctx, rd, category, which):
|
|||||||
category_name = meta.get('name', which)
|
category_name = meta.get('name', which)
|
||||||
which = from_hex_unicode(which)
|
which = from_hex_unicode(which)
|
||||||
feed_title = default_feed_title + ' :: ' + (_('By {0} :: {1}').format(category_name, which))
|
feed_title = default_feed_title + ' :: ' + (_('By {0} :: {1}').format(category_name, which))
|
||||||
owhich = as_hex_unicode('N'+which)
|
owhich = as_hex_unicode('N'+category)
|
||||||
up_url = rc.url_for('/opds/navcatalog', which=owhich)
|
up_url = rc.url_for('/opds/navcatalog', which=owhich)
|
||||||
items = categories[category]
|
items = categories[category]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user