From f8f34c82454934cea7772340dca8602e4412f559 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Tue, 31 Dec 2019 17:21:06 -0500 Subject: [PATCH] update sort fields list --- lib/philomena_web/templates/search/_form.html.slime | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/search/_form.html.slime b/lib/philomena_web/templates/search/_form.html.slime index a73e2d61..b5d78f5b 100644 --- a/lib/philomena_web/templates/search/_form.html.slime +++ b/lib/philomena_web/templates/search/_form.html.slime @@ -112,8 +112,12 @@ h1 Search sort_fields = [ "Sort by upload date": :created_at, - "Sort by last modified": :updated_at, + "Sort by last modification date": :updated_at, "Sort by initial post date": :first_seen_at, + "Sort by aspect ratio": :aspect_ratio, + "Sort by fave count": :faves, + "Sort by upvotes": :upvotes, + "Sort by downvotes": :downvotes, "Sort by score": :score, "Sort by Wilson score": :wilson_score, "Sort by relevance": :_score,