From 022440502953fde5611dc9745ef676359220c278 Mon Sep 17 00:00:00 2001 From: Juri Leino Date: Tue, 20 Aug 2024 12:36:39 +0200 Subject: [PATCH] [bugfix] outline view in sidebar The outline route returned statuscode 404 because it is in fact a post request and only get was allowed in the controller. --- controller.xq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.xq b/controller.xq index e76989fa..5d990115 100644 --- a/controller.xq +++ b/controller.xq @@ -240,7 +240,7 @@ else if ($local:method = 'get' and starts-with($exist:path, '/results/')) then -else if ($local:method = 'get' and $exist:resource eq "outline") then +else if ($local:method = 'post' and $exist:resource eq "outline") then let $query := request:get-parameter("qu", ()) let $base := request:get-parameter("base", ()) return