changeset 5768 | 1e73a466aa69 |
parent 5424 | 8ecbcbff9777 |
child 5811 | e77cea9721e7 |
--- a/web/views/urlrewrite.py Thu Jun 17 12:13:38 2010 +0200 +++ b/web/views/urlrewrite.py Thu Jun 17 14:43:16 2010 +0200 @@ -207,7 +207,7 @@ __regid__ = 'schemabased' rules = [ # rgxp : callback - (rgx('/search/(.+)'), build_rset(rql=r'Any X WHERE X has_text %(text)s', + (rgx('/search/(.+)'), build_rset(rql=r'Any X ORDERBY FTIRANK(X) DESC WHERE X has_text %(text)s', rgxgroups=[('text', 1)])), ]