diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-18 17:43:17 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-18 17:43:17 +0100 |
commit | 0db552842dcfe515764090983dd5993249d61909 (patch) | |
tree | 695bd6d965a46ef9e5d8e52da38335577607bd0c /lib/Travelynx/Controller/Profile.pm | |
parent | d8d11dc7ebd405086930f7d4447e8b89a1e0aba4 (diff) |
Speed up history pages: Only build route datetimes when needed2.9.8
Diffstat (limited to 'lib/Travelynx/Controller/Profile.pm')
-rwxr-xr-x | lib/Travelynx/Controller/Profile.pm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm index a5f394f..c35642d 100755 --- a/lib/Travelynx/Controller/Profile.pm +++ b/lib/Travelynx/Controller/Profile.pm @@ -231,12 +231,13 @@ sub journey_details { } my $journey = $self->journeys->get_single( - uid => $user->{id}, - journey_id => $journey_id, - verbose => 1, - with_datetime => 1, - with_polyline => 1, - with_visibility => 1, + uid => $user->{id}, + journey_id => $journey_id, + verbose => 1, + with_datetime => 1, + with_route_datetime => 1, + with_polyline => 1, + with_visibility => 1, ); if ( not $journey ) { |