* no filters
This commit is contained in:
parent
7f2db12071
commit
c9c384cbf0
|
|
@ -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") }
|
||||
|
|
|
|||
Loading…
Reference in New Issue