changeset 1492:e0c816e54863

CategorySearch is implemented through a regexp'ed TextSearch
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Fri, 25 Aug 2006 14:05:32 +0200
parents 92c7972c8d54
children 91f8863f0c13
files MoinMoin/macro/AdvancedSearch.py MoinMoin/search/queryparser.py
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/AdvancedSearch.py	Fri Aug 25 14:01:53 2006 +0200
+++ b/MoinMoin/macro/AdvancedSearch.py	Fri Aug 25 14:05:32 2006 +0200
@@ -59,8 +59,8 @@
             #    % form_get(request, 'xor_terms')),
             # TODO: dropdown-box?
             (_('belonging to one of the following categories'),
-                '<input type="text" name="categories" size="30" value="%s"%s>'
-                % (form_get(request, 'categories'), disabledIfMoinSearch)),
+                '<input type="text" name="categories" size="30" value="%s">'
+                % form_get(request, 'categories')),
             (_('last modified since (e.g. last 2 weeks)'),
                 '<input type="text" name="mtime" size="30" value="%s">'
                 % form_get(request, 'mtime')),
--- a/MoinMoin/search/queryparser.py	Fri Aug 25 14:01:53 2006 +0200
+++ b/MoinMoin/search/queryparser.py	Fri Aug 25 14:05:32 2006 +0200
@@ -611,7 +611,6 @@
         return ""
 
     def search(self, page):
-        # We just use (and trust ;)) xapian for this.. deactivated for _moinSearch
         if not self.xapian_called:
             return []
         else:
@@ -727,7 +726,6 @@
         return ""
 
     def search(self, page):
-        # We just use (and trust ;)) xapian for this.. deactivated for _moinSearch
         if not self.xapian_called:
             return []
         else:
@@ -791,7 +789,6 @@
         return ""
 
     def search(self, page):
-        # We just use (and trust ;)) xapian for this.. deactivated for _moinSearch
         if not self.xapian_called:
             return []
         else: