--- back_mysql.py 3 Jul 2004 22:46:30 -0000 1.41 +++ back_mysql.py 14 Jul 2004 10:26:39 -0000 @@ -639,7 +639,7 @@ where.append('_%s.__retired__ <> 1'%cn) # add results of full text search - if search_matches is not None: + if search_matches is not None and len(search_matches) > 0: v = search_matches.keys() s = ','.join([a for x in v]) where.append('_%s.id in (%s)'%(cn, s))