mirror of
https://github.com/derf/travelynx
synced 2024-12-03 09:49:09 +00:00
get latets stations: remove duplicates
This commit is contained in:
parent
3e2491a9bc
commit
af82c46d57
1 changed files with 2 additions and 1 deletions
|
@ -416,7 +416,8 @@ sub homepage {
|
|||
}
|
||||
}
|
||||
else {
|
||||
@recent_targets = $self->journeys->get_latest_checkout_stations(
|
||||
@recent_targets = uniq_by { $_->{eva} }
|
||||
$self->journeys->get_latest_checkout_stations(
|
||||
uid => $self->current_user->{id} );
|
||||
}
|
||||
$self->render(
|
||||
|
|
Loading…
Reference in a new issue