Commit 025b5812 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

_history_years: remove redundant SQL request

parent a5ab4fa6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
		% my @years = journeys->get_years(uid => current_user->{id});
		% if (@years) {
			<ul class="pagination">
				% for my $year (journeys->get_years(uid => current_user->{id})) {
				% for my $year (@years) {
					% my $link_to = $year->[0];
					% my $text = $year->[1];
					% my $class = $link_to eq $current ? 'active' : 'waves-effect';