From 25d8a9d76d77a1c02acedda6120d59d279c22887 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 4 Sep 2019 22:09:06 -0400 Subject: [PATCH] Fix default sort --- src/instances.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instances.cr b/src/instances.cr index 9af20f5..07fbca5 100644 --- a/src/instances.cr +++ b/src/instances.cr @@ -90,7 +90,7 @@ end get "/" do |env| sort_by = env.params.query["sort_by"]? - sort_by ||= "users-reverse" + sort_by ||= "users" sort_proc = ->(instance : Tuple(String, Instance)) { instance[0] } instances = INSTANCES.dup.to_a