diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-06 06:16:37 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-06 06:16:37 +0200 | 
| commit | 080b86667ae71968ad4c5650dbbe5b02d835c934 (patch) | |
| tree | c389b0765966e9867ada3b7bc23b98df983c19f0 | |
| parent | a0a2dfd60a31df1435ee4c35796d6763103a5cda (diff) | |
geolocation: dbris: show each unique stop only once2.15.10
| -rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index 575e0e1..30090a0 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -605,7 +605,7 @@ sub geolocation {  						distance => 0,  						dbris    => $dbris_service,  					} -				} $dbris->results; +				} uniq_by { $_->name } $dbris->results;  				if ( @results > 10 ) {  					@results = @results[ 0 .. 9 ];  				} | 
