X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FImageBrowserPage.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FImageBrowserPage.java;h=58aee5c6d9da81ce964a2ecc30f6e1c7e416d283;hb=a404c9c2b1908f4b9181d8e60f11b846812757fb;hp=5674ee8f3214df339bcbea0a94cb969c6322ee5b;hpb=748a763416ff1bf018a4e425f78d01b39f460dd6;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java b/src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java index 5674ee8..58aee5c 100644 --- a/src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java +++ b/src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java @@ -72,6 +72,7 @@ public class ImageBrowserPage extends SoneTemplatePage { templateContext.set("albumRequested", true); templateContext.set("album", album.orNull()); templateContext.set("page", request.getHttpRequest().getParam("page")); + templateContext.set("albumPage", request.getHttpRequest().getParam("albumPage")); return; } String imageId = request.getHttpRequest().getParam("image", null); @@ -86,6 +87,7 @@ public class ImageBrowserPage extends SoneTemplatePage { Optional sone = webInterface.getCore().getSone(soneId); templateContext.set("soneRequested", true); templateContext.set("sone", sone.orNull()); + templateContext.set("albumPage", request.getHttpRequest().getParam("albumPage")); return; } String mode = request.getHttpRequest().getParam("mode", null);