From 191c68189c0bd8ca0578513d4251bb68807dcb38 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 3 Jun 2011 14:58:28 -0600 Subject: [PATCH] Fix coloring broken for tags like columns --- src/calibre/library/coloring.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/library/coloring.py b/src/calibre/library/coloring.py index 0102f8f977..fc14ef1efd 100644 --- a/src/calibre/library/coloring.py +++ b/src/calibre/library/coloring.py @@ -127,6 +127,8 @@ class Rule(object): # {{{ val, lt, eq, gt) def multiple_condition(self, col, action, val, sep): + if sep == '|': + sep = ',' if action == 'is set': return "test(field('%s'), '1', '')"%col if action == 'is not set':