* no filters

This commit is contained in:
Seth Call 2016-03-28 10:43:25 -05:00
parent 7f2db12071
commit c9c384cbf0
1 changed files with 1 additions and 0 deletions

View File

@ -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") }