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 {
|
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} );
|
uid => $self->current_user->{id} );
|
||||||
}
|
}
|
||||||
$self->render(
|
$self->render(
|
||||||
|
|
Loading…
Reference in a new issue