fix new ui web_link frontend
This commit is contained in:
parent
aaf7f7362c
commit
eb9038965a
|
@ -23,8 +23,9 @@ class Panel::WebResource::FrontEnd::WebLinksController < OrbitWidgetController
|
||||||
date_now = Time.now
|
date_now = Time.now
|
||||||
|
|
||||||
# @web_link_categorys = get_categories_for_index
|
# @web_link_categorys = get_categories_for_index
|
||||||
if !params[:filter_category_id].blank?
|
|
||||||
@web_link_categorys = @module_app.categories.enabled.any_in(:_id => params[:filter_category_id])
|
if !params[:category_id].blank?
|
||||||
|
@web_link_categorys = @module_app.categories.enabled.any_in(:_id => params[:category_id])
|
||||||
else
|
else
|
||||||
@web_link_categorys = @module_app.categories.enabled
|
@web_link_categorys = @module_app.categories.enabled
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue