summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-02-04 21:23:22 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-02-04 21:23:22 +0100
commit0457a53f657d887e5644331b3cca1f56fde5d371 (patch)
tree63eb6df4d91ea8dc32964631fc71e35f6dd8676d /lib
parent5392f654e2506b8c652d299b7f8612e837d0967d (diff)
maintenance: only fetch polylines from journeys which were not edited1.14.5
Diffstat (limited to 'lib')
-rw-r--r--lib/Travelynx/Command/maintenance.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/maintenance.pm b/lib/Travelynx/Command/maintenance.pm
index a70d42a..32a6231 100644
--- a/lib/Travelynx/Command/maintenance.pm
+++ b/lib/Travelynx/Command/maintenance.pm
@@ -148,7 +148,8 @@ sub run {
[ 'id', 'polyline_id' ],
{
route => $journey->{route},
- polyline_id => { '!=', undef }
+ polyline_id => { '!=', undef },
+ edited => 0,
},
{ limit => 1 }
)->hash;