summaryrefslogtreecommitdiff
path: root/templates/profile.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-04 18:38:35 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-04 18:38:35 +0200
commit7eb5f967f2d85ea3a7846353fbaf666e3a0e2bc5 (patch)
tree5072bd80f44589de6781a640d5d564f035c4ef33 /templates/profile.html.ep
parent482fa975b5f50064deb57b651019908c17b71f47 (diff)
profile: limit history to four weeks by default
Diffstat (limited to 'templates/profile.html.ep')
-rw-r--r--templates/profile.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/profile.html.ep b/templates/profile.html.ep
index 1755303..6a8d67d 100644
--- a/templates/profile.html.ep
+++ b/templates/profile.html.ep
@@ -23,7 +23,7 @@
<h2>Letzte Fahrten von <%= $name %></h1>
</div>
</div>
- %= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => [journeys->get(uid => $uid, limit => 10, with_datetime => 1)];
+ %= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => $journeys;
% }
%= include '_footer', version => stash('version')