changeset 428:643dd888e74a

Fixed showing results for wikis sharing one index
author Michael Mayorov <marchael@kb.csu.ru>
date Wed, 10 Aug 2011 15:21:40 +0000
parents 0248b030a814
children e818c98d3790
files MoinMoin/templates/search_results.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/search_results.html	Mon Aug 08 21:10:20 2011 +0000
+++ b/MoinMoin/templates/search_results.html	Wed Aug 10 15:21:40 2011 +0000
@@ -26,7 +26,7 @@
             {% for result in results %}
             <tr>
                 <td class="moin-wordbreak">{{ result.pos + 1 }}.
-                <a href="{{ url_for('frontend.show_item', item_name=result['name'], rev=result['rev_no']) }}"><b>{{ result['name'] }}</b></a>
+                <a href="{{ url_for_item(item_name=result['name'], wiki_name=result['wikiname'], rev=result['rev_no']) }}"><b>{{ result['name'] }}</b></a>
                 </td>
             </tr>
             <tr>