mirror of
https://github.com/iv-org/instances-api.git
synced 2024-11-23 05:39:45 +00:00
Fix default sort
This commit is contained in:
parent
047d53bfb1
commit
25d8a9d76d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user