summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fed035b)
raw | patch | inline | side by side (parent: fed035b)
author | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 20 Feb 2009 04:54:13 +0000 (04:54 +0000) | ||
committer | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 20 Feb 2009 04:54:13 +0000 (04:54 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4153 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/rdbms_common.py | patch | blob | history |
index dc7264830decd4e27accf113555305c8632536d2..d0e358fcecbb55cae1fcbfa863045ed77605d339 100644 (file)
if p.sort_type < 2:
mlfilt = 1
tn = '%s_%s'%(pcn, k)
- if v in ('-1', ['-1']):
+ if v in ('-1', ['-1'], []):
# only match rows that have count(linkid)=0 in the
# corresponding multilink table)
where.append(self._subselect(pcn, tn))