From: David ‘Bombe’ Roden Date: Tue, 10 Jun 2014 12:41:57 +0000 (+0200) Subject: Change default sort order to by-activity, descending. X-Git-Tag: 0.9-rc1^2~3^2~251 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1da9b83e9a95fc269cb20a1ee7941872a684797f;p=Sone.git Change default sort order to by-activity, descending. --- diff --git a/src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java b/src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java index ee4973f..f476bbb 100644 --- a/src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java +++ b/src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java @@ -41,8 +41,8 @@ import com.google.common.collect.Ordering; */ public class KnownSonesPage extends SoneTemplatePage { - private static final String defaultSortField = "name"; - private static final String defaultSortOrder = "asc"; + private static final String defaultSortField = "activity"; + private static final String defaultSortOrder = "desc"; /** * Creates a “known Sones” page.