diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2020-02-04 21:23:22 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2020-02-04 21:23:22 +0100 | 
| commit | 0457a53f657d887e5644331b3cca1f56fde5d371 (patch) | |
| tree | 63eb6df4d91ea8dc32964631fc71e35f6dd8676d | |
| parent | 5392f654e2506b8c652d299b7f8612e837d0967d (diff) | |
maintenance: only fetch polylines from journeys which were not edited1.14.5
| -rw-r--r-- | lib/Travelynx/Command/maintenance.pm | 3 | 
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; | 
