fix error
This commit is contained in:
parent
905020f18d
commit
2ee2a616e4
|
@ -474,7 +474,8 @@ class Admin::AsksController < OrbitAdminController
|
|||
end
|
||||
def order_fields
|
||||
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
|
||||
def prepare_category_select
|
||||
@cats_relations = get_categories_info_for_ask
|
||||
|
|
Loading…
Reference in New Issue