From c9c384cbf053619d0964c5a730ab78d350a1b729 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Mon, 28 Mar 2016 10:43:25 -0500 Subject: [PATCH] * no filters --- admin/app/admin/teachers.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/app/admin/teachers.rb b/admin/app/admin/teachers.rb index 34c780ab4..9ffa7e3d9 100644 --- a/admin/app/admin/teachers.rb +++ b/admin/app/admin/teachers.rb @@ -6,6 +6,7 @@ ActiveAdmin.register JamRuby::Teacher, :as => 'Teachers' do config.batch_actions = false config.per_page = 100 config.paginate = true + config.filters = false scope("All", default: true) { |scope| scope.unscoped.order("background_check_at > '#{(Date.today - 365).to_s}}' NULLS FIRST, ready_for_session_at IS NULL DESC") } scope("All Sorted By Sign Up") { |scope| scope.unscoped.order("teachers.created_at DESC, background_check_at > '#{(Date.today - 365).to_s}}' NULLS FIRST, ready_for_session_at IS NULL DESC") }