diff roundup/hyperdb.py @ 693:250d0d517f64 search_indexing-0-4-2-branch

We now have a separate search page for nodes. Search links for different classes can be customized in instance_config similar to index links.
author Roche Compaan <rochecompaan@users.sourceforge.net>
date Sat, 20 Apr 2002 13:23:34 +0000
parents 0521ddc7bb31
children 54333751e98d
line wrap: on
line diff
--- a/roundup/hyperdb.py	Fri Apr 19 19:54:42 2002 +0000
+++ b/roundup/hyperdb.py	Sat Apr 20 13:23:34 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: hyperdb.py,v 1.59.2.1 2002-04-19 19:54:42 rochecompaan Exp $
+# $Id: hyperdb.py,v 1.59.2.2 2002-04-20 13:23:33 rochecompaan Exp $
 
 __doc__ = """
 Hyperdatabase implementation, especially field types.
@@ -888,9 +888,11 @@
         l.sort()
 
         # filter based on full text search
-        if search_matches:
+        if search_matches is not None:
             k = []
+            l_debug = []
             for v in l:
+                l_debug.append(v[0])
                 if search_matches.has_key(v[0]):
                     k.append(v)
             l = k
@@ -1106,6 +1108,17 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.59.2.1  2002/04/19 19:54:42  rochecompaan
+# cgi_client.py
+#     removed search link for the time being
+#     moved rendering of matches to htmltemplate
+# hyperdb.py
+#     filtering of nodes on full text search incorporated in filter method
+# roundupdb.py
+#     added paramater to call of filter method
+# roundup_indexer.py
+#     added search method to RoundupIndexer class
+#
 # Revision 1.59  2002/03/12 22:52:26  richard
 # more pychecker warnings removed
 #

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