From 7631eea32e90bae91f58589d95f7981a242bea4f Mon Sep 17 00:00:00 2001 From: Jonathan Rehm Date: Wed, 5 Jul 2017 19:09:01 -0700 Subject: [PATCH] Add sort options when viewing books Default view still shows the most recently added books, but adds ability to sort by newest/oldest books and books sorted alphabetically (ascending & descending). I did not include translations for the next text, but they are split up for easy translating and are otherwise ready for translating. --- cps/templates/layout.html | 14 +++++++++++++- cps/web.py | 38 +++++++++++++++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/cps/templates/layout.html b/cps/templates/layout.html index 1833df5c..a0080322 100644 --- a/cps/templates/layout.html +++ b/cps/templates/layout.html @@ -121,7 +121,19 @@