changeset 1497 | 54fc5cc52210 |
parent 1382 | 618f6aee8d52 |
child 1522 | 47b2ffbee760 |
--- a/server/sources/rql2sql.py Mon Apr 27 10:48:21 2009 +0200 +++ b/server/sources/rql2sql.py Mon Apr 27 12:11:33 2009 +0200 @@ -952,6 +952,8 @@ if rel is not None: rel._q_needcast = value return self.keyword_map[value]() + if constant.type == 'Boolean': + value = self.dbms_helper.boolean_value(value) if constant.type == 'Substitute': _id = constant.value if isinstance(_id, unicode):