mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 20:35:49 +01:00
Fix #860615 (Error on clicking Character for search)
This commit is contained in:
commit
fccaa978a3
1 changed files with 1 additions and 1 deletions
|
|
@ -1163,7 +1163,7 @@ def tokens(self):
|
|||
letters_seen[subnode.tag.sort[0]] = True
|
||||
charclass = ''.join(letters_seen)
|
||||
if k == 'author_sort':
|
||||
expr = r'%s:"~(^[%s])|(&\\s*[%s])"'%(k, charclass, charclass)
|
||||
expr = r'%s:"~(^[%s])|(&\s*[%s])"'%(k, charclass, charclass)
|
||||
else:
|
||||
expr = r'%s:"~^[%s]"'%(k, charclass)
|
||||
if node_searches[tag_item.tag.state] == 'true':
|
||||
|
|
|
|||
Loading…
Reference in a new issue