diff MoinMoin/macro/FullSearch.py @ 1449:e219092e1a0d

a few small fixes to get misc things working with xapian
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Mon, 21 Aug 2006 19:03:20 +0200
parents 12ddd8661ad6
children 6dd2e29acffe
line wrap: on
line diff
--- a/MoinMoin/macro/FullSearch.py	Mon Aug 21 18:16:15 2006 +0200
+++ b/MoinMoin/macro/FullSearch.py	Mon Aug 21 19:03:20 2006 +0200
@@ -105,8 +105,7 @@
     needle = needle.strip()
 
     # Search the pages and return the results
-    results = search.searchPages(request, needle)
-    results.sortByPagename()
+    results = search.searchPages(request, needle, sort='page_name')
 
     return results.pageList(request, macro.formatter, paging=False)