fix error

This commit is contained in:
邱博亞 2022-12-31 16:06:53 +08:00
parent 636a7aa71d
commit 453bc511d7
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ class Admin::AsksController < OrbitAdminController
end end
ask_category_settings[nil] = ask_default_setting ask_category_settings[nil] = ask_default_setting
fields_with_key_group[nil] = get_fields_with_key(ask_default_setting) fields_with_key_group[nil] = get_fields_with_key(ask_default_setting)
situations = AskTicketStatus.all.collect{|situation| [situation.key, situation.get_title_translations]} situations = AskTicketStatus.all.collect{|situation| [situation.key, situation.get_title_translations]}.to_h
render xlsx: 'do_export.xlsx', render xlsx: 'do_export.xlsx',
handlers: ['axlsx'], handlers: ['axlsx'],
filename: "Questions-#{date_start}-#{date_end}.xlsx", filename: "Questions-#{date_start}-#{date_end}.xlsx",