Skip to content

Commit 2c4228d

Browse files
committed
Add missing parentheses to activity history statistics
Regresses 9a9efd5.
1 parent 74dfe08 commit 2c4228d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/statistics/activity_history.html.slim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
form
1414
.mb-3
1515
label for='from-date' = t('.from')
16-
input.form-control#from-date type='date' name='from' value=params[:from] || DateTime.new(2016).to_date
16+
input.form-control#from-date type='date' name='from' value=(params[:from] || DateTime.new(2014).to_date)
1717
.mb-3
1818
label for='to-date' = t('.to')
19-
input.form-control#to-date type='date' name='to' value=params[:to] || DateTime.now.to_date
19+
input.form-control#to-date type='date' name='to' value=(params[:to] || DateTime.now.to_date)
2020
.mb-3
2121
label for='interval' = t('.interval')
2222
select.form-control#interval name='interval'

0 commit comments

Comments
 (0)