From f411371eb033c6be35f8949a855357ea5198e778 Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Mon, 25 Mar 2019 15:09:37 +0100 Subject: [PATCH] Fixed #418 - Wrong redirection on month change in transaction list --- src/main/resources/templates/reports/reports.ftl | 2 +- src/main/resources/templates/transactions/transactions.ftl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/reports/reports.ftl b/src/main/resources/templates/reports/reports.ftl index e6d01c6f1..7d3a87573 100644 --- a/src/main/resources/templates/reports/reports.ftl +++ b/src/main/resources/templates/reports/reports.ftl @@ -17,7 +17,7 @@ <main> <div class="card main-card background-color"> <#import "../helpers/globalDatePicker.ftl" as datePicker> - <@datePicker.datePicker currentDate springMacroRequestContext.getRequestUri()/> + <@datePicker.datePicker currentDate "/transactions"/> <br> diff --git a/src/main/resources/templates/transactions/transactions.ftl b/src/main/resources/templates/transactions/transactions.ftl index 50fc52389..63bbb697c 100644 --- a/src/main/resources/templates/transactions/transactions.ftl +++ b/src/main/resources/templates/transactions/transactions.ftl @@ -18,7 +18,7 @@ <main> <div class="card main-card background-color"> <#import "../helpers/globalDatePicker.ftl" as datePicker> - <@datePicker.datePicker currentDate springMacroRequestContext.getRequestUri()/> + <@datePicker.datePicker currentDate "/transactions"/> <div class="container transaction-container"> <div class="row"> <div class="col s4"> -- GitLab