diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-07-28 15:38:31 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-07-28 15:38:31 +0200 |
commit | 6659d761011b7303df50e9c05f749adaf2293047 (patch) | |
tree | 8ad8e342b0eedea11cba0a6fadc04e04380a0bd5 /lib | |
parent | 581963a87e764149b4dc6909e75dcd79577834de (diff) |
history: add map link for monthly history2.8.6
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index ca31e12..7fbde79 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -1644,13 +1644,15 @@ sub monthly_history { } }, any => { - template => 'history_by_month', - title => "travelynx: $month_name $year", - journeys => [@journeys], - year => $year, - month => $month, - month_name => $month_name, - statistics => $stats + template => 'history_by_month', + title => "travelynx: $month_name $year", + journeys => [@journeys], + year => $year, + month => $month, + month_name => $month_name, + filter_from => $interval_start, + filter_to => $interval_end->clone->subtract( days => 1 ), + statistics => $stats } ); |