diff options
author | teknolab <omat@teknolab.org> | 2010-09-08 03:34:39 -0700 |
---|---|---|
committer | teknolab <omat@teknolab.org> | 2010-09-08 03:34:39 -0700 |
commit | ac97dc0b6feb01d9838a1b5e23c237015d3a2a4d (patch) | |
tree | a25b62514c91ce5c5718a6b63f0d59c97778cc5a | |
parent | 96d2d208d7d708384465f2613a80bd77d53e7dc9 (diff) | |
download | askbot-ac97dc0b6feb01d9838a1b5e23c237015d3a2a4d.tar.gz askbot-ac97dc0b6feb01d9838a1b5e23c237015d3a2a4d.tar.bz2 askbot-ac97dc0b6feb01d9838a1b5e23c237015d3a2a4d.zip |
fixed an sqlite compatibility issue
-rw-r--r-- | askbot/models/tag.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/models/tag.py b/askbot/models/tag.py index fd253ea5..73712e3c 100644 --- a/askbot/models/tag.py +++ b/askbot/models/tag.py @@ -11,7 +11,7 @@ class TagManager(models.Manager): 'SET used_count = (' 'SELECT COUNT(*) FROM question_tags ' 'INNER JOIN question ON question_id=question.id ' - 'WHERE tag_id = tag.id AND question.deleted=False' + 'WHERE tag_id = tag.id AND NOT question.deleted' ') ' 'WHERE id IN (%s)') |