aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-12-22 21:09:29 +0000
committerrubenwardy <rw@rubenwardy.com>2018-12-22 21:09:29 +0000
commitfd901726b05a24e303501f23ef836d4594872684 (patch)
tree00055fb2ad8cb36331e69a709a42242a60860b1c /app/templates
parent5f40d6844173d6d7b65a1ec5b73ab83d4ef67073 (diff)
downloadcheatdb-fd901726b05a24e303501f23ef836d4594872684.tar.xz
Add sort and order query params to package list
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index b37228c..83750ee 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -29,14 +29,14 @@ Welcome
{{ render_pkggrid(new) }}
- <a href="{{ url_for('packages_page') }}" class="btn btn-secondary float-right">
+ <a href="{{ url_for('packages_page', sort='score', order='desc') }}" class="btn btn-secondary float-right">
See more
</a>
<h2 class="my-3">Popular</h2>
{{ render_pkggrid(popular) }}
- <a href="{{ url_for('packages_page', type='txp') }}" class="btn btn-secondary float-right">
+ <a href="{{ url_for('packages_page', type='txp', sort='score', order='desc') }}" class="btn btn-secondary float-right">
See more
</a>
<h2 class="my-3">Top Texture Packs</h2>