Mercurial > p > roundup > code
diff roundup/backends/back_mysql.py @ 2362:10fc45eea226
fix SearchAction use of Class.filter(), and clarify API docs for same
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 23 May 2004 23:24:47 +0000 |
| parents | 7cf7e3bd1b31 |
| children | a2025bdd1491 |
line wrap: on
line diff
--- a/roundup/backends/back_mysql.py Sun May 23 23:00:49 2004 +0000 +++ b/roundup/backends/back_mysql.py Sun May 23 23:24:47 2004 +0000 @@ -499,16 +499,12 @@ "sort" and "group" are (dir, prop) where dir is '+', '-' or None and prop is a prop name or None - "search_matches" is {nodeid: marker} + "search_matches" is {nodeid: marker} or None The filter must match all properties specificed - but if the 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 - if search_matches == {}: - return [] - if __debug__: start_t = time.time()
