Fix bug.
This commit is contained in:
parent
07ff880f64
commit
e5c677fcec
|
@ -125,7 +125,7 @@ class ArchivesController < ApplicationController
|
||||||
if archives.count != 0
|
if archives.count != 0
|
||||||
archives = archives.map.with_index do |archive,idx|
|
archives = archives.map.with_index do |archive,idx|
|
||||||
data, serial_number, idx = archive.get_frontend_data(locale, serial_number, idx)
|
data, serial_number, idx = archive.get_frontend_data(locale, serial_number, idx)
|
||||||
archives << data
|
data
|
||||||
end
|
end
|
||||||
each_data_count.push(archives.length)
|
each_data_count.push(archives.length)
|
||||||
sorted = archives
|
sorted = archives
|
||||||
|
|
Loading…
Reference in New Issue