From ed27dd0c0aaf2629bb723183bd337c8549ce29bc Mon Sep 17 00:00:00 2001 From: Kai Wagner Date: Fri, 15 May 2026 17:51:16 +0200 Subject: [PATCH] avoid the activity calender to snap pack for teams or people Signed-off-by: Kai Wagner --- app/controllers/people_controller.rb | 2 +- app/controllers/teams_profile_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb index a2aa66f..c2d00b1 100644 --- a/app/controllers/people_controller.rb +++ b/app/controllers/people_controller.rb @@ -20,7 +20,7 @@ def daily_activity date = parse_activity_date @profile_email = profile_email @activity_period = { type: :day, date: date } - load_activity_data(scope: messages_scope_for_date(date)) + load_activity_data(scope: messages_scope_for_date(date), year: date.year) render :activity end diff --git a/app/controllers/teams_profile_controller.rb b/app/controllers/teams_profile_controller.rb index b7fae17..8780c21 100644 --- a/app/controllers/teams_profile_controller.rb +++ b/app/controllers/teams_profile_controller.rb @@ -17,7 +17,7 @@ def contributions def daily_activity date = parse_activity_date @activity_period = { type: :day, date: date } - load_activity_data(scope: messages_scope_for_date(date)) + load_activity_data(scope: messages_scope_for_date(date), year: date.year) render :activity end