X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FKnownSonesPage.java;h=ff434b30f094e231aa4a76b97580181ceb99a91b;hb=2c5b76a2fbce16ef33f079a3de9ae9fc9a9d30b8;hp=09046199a74da98ff057a3da1ec59a079a343ce1;hpb=b2222ffddcd6ece5daa677619e9f14dc704d1ce4;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java b/src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java index 0904619..ff434b3 100644 --- a/src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java +++ b/src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java @@ -42,7 +42,7 @@ public class KnownSonesPage extends SoneTemplatePage { * The Sone web interface */ public KnownSonesPage(Template template, WebInterface webInterface) { - super("knownSones.html", template, "Page.KnownSones.Title", webInterface); + super("knownSones.html", template, "Page.KnownSones.Title", webInterface, false); } // @@ -55,7 +55,7 @@ public class KnownSonesPage extends SoneTemplatePage { @Override protected void processTemplate(Request request, Template template) throws RedirectException { super.processTemplate(request, template); - List knownSones = new ArrayList(webInterface.core().getKnownSones()); + List knownSones = new ArrayList(webInterface.core().getSones()); Collections.sort(knownSones, new Comparator() { @Override