Skip to content

Commit c0baa74

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 88dbab7 commit c0baa74

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Fixed:
1010
- fix dates-from-Dates (sf bug 984604)
1111
- fix messageid generated when msgid is None for send_message (sf bug 987933)
1212
- make user permissions check more sane (fix search page for anonymous)
13+
- fixed RDBMS filter() for no matches from full-text search (sf bug 990778)
1314

1415

1516
2004-06-24 0.7.5

roundup/backends/back_mysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def filter(self, search_matches, filterspec, sort=(None,None),
535535
property value to match is a list, any one of the values in the
536536
list may match for that property to match.
537537
'''
538-
# just don't bother if the full-text search matched diddly
538+
# we can't match anything if search_matches is empty
539539
if search_matches == {}:
540540
return []
541541

roundup/backends/rdbms_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: rdbms_common.py,v 1.98.2.16 2004-07-03 23:08:44 richard Exp $
1+
# $Id: rdbms_common.py,v 1.98.2.17 2004-07-19 00:38:54 richard Exp $
22
''' Relational database (SQL) backend common code.
33
44
Basics:
@@ -2064,7 +2064,7 @@ def filter(self, search_matches, filterspec, sort=(None,None),
20642064
property value to match is a list, any one of the values in the
20652065
list may match for that property to match.
20662066
'''
2067-
# just don't bother if the full-text search matched diddly
2067+
# we can't match anything if search_matches is empty
20682068
if search_matches == {}:
20692069
return []
20702070

0 commit comments

Comments
 (0)