class Sorting::GuideProgress::ByProgress

Public Class Methods

order_by(ordering) click to toggle source
# File lib/mumuki/classroom/models/sorting/guide_progress.rb, line 130
def self.order_by(ordering)
  {'stats.passed': ordering,
   'stats.passed_with_warnings': ordering,
   'stats.failed': ordering,
   'student.last_name': ordering,
   'student.first_name': ordering}
end