diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-07-25 20:11:44 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-07-25 20:11:44 +0200 |
commit | 09714b4d89684b8331d0e96f564a4c7432318f70 (patch) | |
tree | 2e843a2169f3238907dd0c002910fac6084183ee | |
parent | 8cdf1120fc32155dc6525be64601b7c10a9c7f52 (diff) |
disambiguation: pass correct hafas parameter
-rw-r--r-- | templates/disambiguation.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/disambiguation.html.ep b/templates/disambiguation.html.ep index 9fc1e4c..af7d1dd 100644 --- a/templates/disambiguation.html.ep +++ b/templates/disambiguation.html.ep @@ -13,7 +13,7 @@ <div class="col s12"> <ul class="suggestions"> % for my $suggestion (@{$suggestions // []}) { - <li><a href="<%= url_for('station' => $suggestion->{eva}) . (param('hafas') ? '?hafas=DB' : q{}) %>"><%= $suggestion->{name} %></a></li> + <li><a href="<%= url_for('station' => $suggestion->{eva}) . (param('hafas') ? '?hafas=' . param('hafas') : q{}) %>"><%= $suggestion->{name} %></a></li> % } </ul> </div> |