small fix

This commit is contained in:
Harry Bomrah 2014-12-30 20:26:42 +08:00
parent aad5e268cf
commit 40091d9683
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Admin::RegisteredSitesController < OrbitAdminController
@tags = @module_app.tags @tags = @module_app.tags
@categories = @module_app.categories.enabled @categories = @module_app.categories.enabled
@filter_fields = filter_fields_without_status(@categories, @tags) @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? if request.xhr?
render :partial => "index" render :partial => "index"