summaryrefslogtreecommitdiffstats
path: root/templates/packages/search.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-12-04 02:38:50 +0100
committerDan McGee <dan@archlinux.org>2010-12-04 02:39:56 +0100
commit1b826f3e12b66d9e2d3a90b1dddf5170ab48dc12 (patch)
tree9efb567d58ab480c165faa18e6291bcb3e6250ec /templates/packages/search.html
parentf2147cdeec3daafbdbbf3172fd4cc94ef24ee851 (diff)
downloadarchweb-1b826f3e12b66d9e2d3a90b1dddf5170ab48dc12.tar.gz
archweb-1b826f3e12b66d9e2d3a90b1dddf5170ab48dc12.tar.xz
Display flag date in package search and allow sorting
This exposes something we added a while back, and has been shown elsewhere, but will now be available for everyone to see. Also change the default search order to just be by pkgname; we don't need to do a multi-column search by default. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/search.html')
-rw-r--r--templates/packages/search.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index c3f70fa..4a779aa 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -84,6 +84,8 @@
<th>Description</th>
<th><a href="/packages/{% buildsortqs "-last_update" %}"
title="Sort packages by last update">Last Updated</a></th>
+ <th><a href="/packages/{% buildsortqs "-flag_date" %}"
+ title="Sort packages by when marked-out of-date">Flag Date</a></th>
</tr>
</thead>
<tbody>
@@ -103,6 +105,7 @@
{% endif %}
<td class="wrap">{{ pkg.pkgdesc }}</td>
<td>{{ pkg.last_update|date }}</td>
+ <td>{{ pkg.flag_date|date }}</td>
</tr>
{% endfor %}
</tbody>