mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 02:43:37 +02:00
Tag Browser: Make hierarchical items work in group searched terms.
This commit is contained in:
commit
7fbd662e41
2 changed files with 3 additions and 3 deletions
|
|
@ -529,8 +529,8 @@ def copy_not_none(dest, src, attr):
|
|||
for t in st.intersection(ot):
|
||||
sidx = lstags.index(t)
|
||||
oidx = lotags.index(t)
|
||||
self_tags[sidx] = other.tags[oidx]
|
||||
self_tags += [t for t in other.tags if t.lower() in ot-st]
|
||||
self_tags[sidx] = other_tags[oidx]
|
||||
self_tags += [t for t in other_tags if t.lower() in ot-st]
|
||||
setattr(self, x, self_tags)
|
||||
|
||||
my_comments = getattr(self, 'comments', '')
|
||||
|
|
|
|||
|
|
@ -394,7 +394,7 @@ def process_one_node(category, state_map): # {{{
|
|||
not fm['is_custom'] and \
|
||||
not fm['kind'] == 'user' \
|
||||
else False
|
||||
in_uc = fm['kind'] == 'user'
|
||||
in_uc = fm['kind'] == 'user' and not is_gst
|
||||
tt = key if in_uc else None
|
||||
|
||||
if collapse_model == 'first letter':
|
||||
|
|
|
|||
Loading…
Reference in a new issue