This commit is contained in:
BoHung Chiu 2022-05-23 11:12:32 +08:00
parent 6b21a62109
commit 07ff880f64
1 changed files with 2 additions and 2 deletions

View File

@ -124,8 +124,8 @@ class ArchivesController < ApplicationController
serial_number = 0
if archives.count != 0
archives = archives.map.with_index do |archive,idx|
data, serial_number, idx = archive.get_frontend_data(locale, serial_number, idx)
archives << data
end
each_data_count.push(archives.length)
sorted = archives