Code

Fix issue2550505
[roundup.git] / roundup / backends / rdbms_common.py
index 7cb90fd3b28242f39110f32951f0111f5fc2f3e1..0aa09f0a659352a9ff1a4b022bc4549c4949eba3 100644 (file)
@@ -2366,7 +2366,7 @@ class Class(hyperdb.Class):
         if search_matches is not None:
             s = ','.join([a for x in search_matches])
             where.append('_%s.id in (%s)'%(icn, s))
-            args = args + v
+            args = args + [x for x in search_matches]
 
         # construct the SQL
         frum.append('_'+icn)