mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Fix OPDS categories not showing books for composite column categories if the column contains a colon.
This commit is contained in:
parent
fd8c736e4d
commit
8ad4f01288
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ def opds_category(self, category=None, which=None, version=0, offset=0):
|
|||
which = which[1:]
|
||||
if type_ == 'I':
|
||||
try:
|
||||
p = which.index(':')
|
||||
p = which.rindex(':')
|
||||
category = which[p+1:]
|
||||
which = which[:p]
|
||||
# This line will toss an exception for composite columns
|
||||
|
|
|
|||
Loading…
Reference in a new issue