mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -551,7 +551,7 @@ class OPDSServer(object):
|
|||||||
which = which[1:]
|
which = which[1:]
|
||||||
if type_ == 'I':
|
if type_ == 'I':
|
||||||
try:
|
try:
|
||||||
p = which.index(':')
|
p = which.rindex(':')
|
||||||
category = which[p+1:]
|
category = which[p+1:]
|
||||||
which = which[:p]
|
which = which[:p]
|
||||||
# This line will toss an exception for composite columns
|
# This line will toss an exception for composite columns
|
||||||
|
Loading…
x
Reference in New Issue
Block a user