This commit is contained in:
cxt 2018-05-08 16:42:33 +08:00
parent 0fe00bce50
commit f70f139699
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class StatisticsController < ApplicationController
end
end
@statistics_count = @statistics.count
@data_size = data_format_string @statistics.map{|s| s.file_size}.sum
@data_size = 0 #data_format_string @statistics.map{|s| s.file_size}.sum
@limit = 10
@is_remote = true
@statistics_pages = Paginator.new @statistics_count, @limit, params['page'] || 1