diff --git a/app/controllers/admin/registered_sites_controller.rb b/app/controllers/admin/registered_sites_controller.rb index 9d1dc04..8b87f1e 100644 --- a/app/controllers/admin/registered_sites_controller.rb +++ b/app/controllers/admin/registered_sites_controller.rb @@ -9,7 +9,7 @@ class Admin::RegisteredSitesController < OrbitAdminController @tags = @module_app.tags @categories = @module_app.categories.enabled @filter_fields = filter_fields_without_status(@categories, @tags) - @registeredsites = search_data(@registeredsites,[:title]).page(params[:page]).per(10).desc(:created_at) + @registeredsites = search_data(@registeredsites,[:title]).page(params[:page].per(10).desc(:created_at)) if request.xhr? render :partial => "index"