fix error

This commit is contained in:
邱博亞 2023-09-26 21:14:21 +08:00
parent 905020f18d
commit 2ee2a616e4
1 changed files with 2 additions and 1 deletions

View File

@ -474,7 +474,8 @@ class Admin::AsksController < OrbitAdminController
end end
def order_fields def order_fields
prepare_category_select prepare_category_select
@disp_fields_infos = AskSetting.get_disp_fields_infos(false,@category_id) ask_setting = AskCategorySetting.where(:category_id=>@category_id).first
@disp_fields_infos = AskSetting.get_disp_fields_infos(false, ask_setting, true)
end end
def prepare_category_select def prepare_category_select
@cats_relations = get_categories_info_for_ask @cats_relations = get_categories_info_for_ask