Improve property page
Allow sorting property values by name Use label from different language if English label is missing
This commit is contained in:
parent
3215333caf
commit
a20666f9d4
3 changed files with 67 additions and 16 deletions
|
|
@ -8,6 +8,14 @@
|
|||
|
||||
<p><a href="{{ url_for('index') }}">back to index</a></p>
|
||||
|
||||
<p>Sort order:
|
||||
{% if order == 'name' %}
|
||||
<b>name</b> or <a href="?sort=count">count</a>
|
||||
{% else %}
|
||||
<a href="?sort=name">name</a> or <b>count</b>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
{% for row in rows if '/' in row.object.value %}
|
||||
{% set qid = row.object.value.rpartition('/')[2] %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue