changeset 2579:ead9f926234a maint-0.7

merge from HEAD
author Richard Jones <richard@users.sourceforge.net>
date Mon, 19 Jul 2004 00:38:54 +0000
parents 762148a70014
children 4a72b2ded24b
files CHANGES.txt roundup/backends/back_mysql.py roundup/backends/rdbms_common.py
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Thu Jul 15 22:27:52 2004 +0000
+++ b/CHANGES.txt	Mon Jul 19 00:38:54 2004 +0000
@@ -10,6 +10,7 @@
 - fix dates-from-Dates (sf bug 984604)
 - fix messageid generated when msgid is None for send_message (sf bug 987933)
 - make user permissions check more sane (fix search page for anonymous)
+- fixed RDBMS filter() for no matches from full-text search (sf bug 990778)
 
 
 2004-06-24 0.7.5
--- a/roundup/backends/back_mysql.py	Thu Jul 15 22:27:52 2004 +0000
+++ b/roundup/backends/back_mysql.py	Mon Jul 19 00:38:54 2004 +0000
@@ -535,7 +535,7 @@
         property value to match is a list, any one of the values in the
         list may match for that property to match.
         '''
-        # just don't bother if the full-text search matched diddly
+        # we can't match anything if search_matches is empty
         if search_matches == {}:
             return []
 
--- a/roundup/backends/rdbms_common.py	Thu Jul 15 22:27:52 2004 +0000
+++ b/roundup/backends/rdbms_common.py	Mon Jul 19 00:38:54 2004 +0000
@@ -1,4 +1,4 @@
-# $Id: rdbms_common.py,v 1.98.2.16 2004-07-03 23:08:44 richard Exp $
+# $Id: rdbms_common.py,v 1.98.2.17 2004-07-19 00:38:54 richard Exp $
 ''' Relational database (SQL) backend common code.
 
 Basics:
@@ -2064,7 +2064,7 @@
         property value to match is a list, any one of the values in the
         list may match for that property to match.
         '''
-        # just don't bother if the full-text search matched diddly
+        # we can't match anything if search_matches is empty
         if search_matches == {}:
             return []
 

Roundup Issue Tracker: http://roundup-tracker.org/