From 8887cdbc903265060ea6e1695bb4d835115d8c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Van=C3=AD=C4=8Dek?= Date: Fri, 24 Mar 2023 23:11:17 +0100 Subject: [PATCH] Test controller patch. --- patches/workload_module.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/workload_module.patch b/patches/workload_module.patch index b39e78f..1e5d0bd 100644 --- a/patches/workload_module.patch +++ b/patches/workload_module.patch @@ -206,6 +206,15 @@ include WorkloadsHelper before_action :authorize_global, only: %i[index] +@@ -40,7 +40,7 @@ class WorkloadsController < ApplicationController + time_span: @time_span_to_display, + today: @today) + +- @months_to_render = WlDateTools.months_in_time_span(@time_span_to_display) ++ @months_to_render = RedmineWorkload::WlDateTools.months_in_time_span(@time_span_to_display) + @workload_data = user_workload.hours_per_user_issue_and_day + + @group_workload = GroupWorkload.new(users: @users, --- a/plugins/redmine_workload/app/models/user_workload.rb +++ b/plugins/redmine_workload/app/models/user_workload.rb @@ -6,8 +6,8 @@