From 40091d9683d513563a409278d27f8678e810dfee Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 30 Dec 2014 20:26:42 +0800 Subject: [PATCH] small fix --- app/controllers/admin/registered_sites_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"