fix error
This commit is contained in:
parent
905020f18d
commit
2ee2a616e4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue