changeset 5016:b4f41e24833c

Xapian2009: TestXapianSearch.test_mimetype_search_simple test fix.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sat, 15 Aug 2009 20:59:43 +0200
parents bc42755b5820
children 09e577676ba2
files MoinMoin/search/queryparser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/queryparser.py	Sat Aug 15 20:43:43 2009 +0200
+++ b/MoinMoin/search/queryparser.py	Sat Aug 15 20:59:43 2009 +0200
@@ -484,7 +484,7 @@
         if self.use_re:
             return self._get_query_for_search_re(connection, self._field_to_search)
         else:
-            return connection.query_field(self._field_to_search, self.pattern)
+            return connection.query_field(self._field_to_search, self._pattern)
 
 
 class LinkSearch(BaseFieldSearch):