Commits

Thomas Waldmann committed 064024e

search results: link to first name, but show all names of search result items

  • Participants
  • Parent commits 1a6be4a
  • Branches namespaces

Comments (0)

Files changed (1)

File MoinMoin/templates/search.html

                 {% if result['wikiname'] == cfg.interwikiname %}
                     <tr>
                         <td class="moin-wordbreak">{{ result.pos + 1 }}
-                        <a href="{{ url_for_item(item_name=result['name'], wiki_name='Self', rev=result['revid']) }}"><b>{{ result['name'] }}</b></a>
+                        <a href="{{ url_for_item(item_name=result['name'][0], wiki_name='Self', rev=result['revid']) }}"><b>{{ result['name'] | join(' | ')}}</b></a>
                         </td>
                     </tr>
                     <tr>