summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Profile.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-12-18 17:43:17 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-12-18 17:43:17 +0100
commit0db552842dcfe515764090983dd5993249d61909 (patch)
tree695bd6d965a46ef9e5d8e52da38335577607bd0c /lib/Travelynx/Controller/Profile.pm
parentd8d11dc7ebd405086930f7d4447e8b89a1e0aba4 (diff)
Speed up history pages: Only build route datetimes when needed2.9.8
Diffstat (limited to 'lib/Travelynx/Controller/Profile.pm')
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm13
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 ) {