summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Model
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-18 18:48:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-18 18:48:32 +0100
commit9b205229a3e07d0de49c714b1d9fb516a3205653 (patch)
treec13ff10e6e49ed79df26b335d19ae85966df41b2 /lib/Travelynx/Model
parent3f08f86ac2ac65d458b0cd378b366003812b32fb (diff)
latest checkout stations: order by journey id rather than timestamp1.29.14
Diffstat (limited to 'lib/Travelynx/Model')
-rwxr-xr-xlib/Travelynx/Model/Journeys.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Model/Journeys.pm b/lib/Travelynx/Model/Journeys.pm
index dfe44b6..defff0b 100755
--- a/lib/Travelynx/Model/Journeys.pm
+++ b/lib/Travelynx/Model/Journeys.pm
@@ -754,7 +754,7 @@ sub get_latest_checkout_stations {
},
{
limit => $limit,
- order_by => { -desc => 'real_arr_ts' }
+ order_by => { -desc => 'journey_id' }
}
);