fix: index search on partial URLs

Fix #202
pull/203/head
Raphaël Vinot 2021-05-06 11:27:34 +02:00
parent baec36def1
commit 6592531ec1
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ $(document).ready(function () {
<tbody> <tbody>
{% for uuid, page_title, datetime, url, redirects, incomplete_redirects in titles %} {% for uuid, page_title, datetime, url, redirects, incomplete_redirects in titles %}
<tr> <tr>
<td> <td data-search="{{ page_title }} {{ url }}">
<p title="{{ page_title }}"><a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a></p> <p title="{{ page_title }}"><a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a></p>
{{ shorten_string(url, 50, with_title=True) }} {{ shorten_string(url, 50, with_title=True) }}
</td> </td>