mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-02 23:04:00 +02:00
Fix is_multiple problem in templates for custom columns.
This commit is contained in:
parent
d407876d74
commit
b4593fb818
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ def apply_condition(self, condition):
|
|||
if dt in ('comments', 'series', 'text', 'enumeration', 'composite'):
|
||||
ism = m.get('is_multiple', False)
|
||||
if ism:
|
||||
return self.multiple_condition(col, action, val, ism)
|
||||
return self.multiple_condition(col, action, val, ',' if ism == '|' else ism)
|
||||
return self.text_condition(col, action, val)
|
||||
|
||||
def identifiers_condition(self, col, action, val):
|
||||
|
|
|
|||
Loading…
Reference in a new issue