diff --git a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb index bda0672e..67e813db 100644 --- a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb +++ b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb @@ -23,8 +23,9 @@ class Panel::WebResource::FrontEnd::WebLinksController < OrbitWidgetController date_now = Time.now # @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 @web_link_categorys = @module_app.categories.enabled end