comparison 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
comparison
equal deleted inserted replaced
1448:4012f0814295 1449:e219092e1a0d
103 return '<span class="error">%s</span>' % err 103 return '<span class="error">%s</span>' % err
104 104
105 needle = needle.strip() 105 needle = needle.strip()
106 106
107 # Search the pages and return the results 107 # Search the pages and return the results
108 results = search.searchPages(request, needle) 108 results = search.searchPages(request, needle, sort='page_name')
109 results.sortByPagename()
110 109
111 return results.pageList(request, macro.formatter, paging=False) 110 return results.pageList(request, macro.formatter, paging=False)
112 111
113 112