Commit 252c2ec9 authored by Zac Wood's avatar Zac Wood
Browse files


parent 83a1b1c8
Pipeline #3499 passed with stages
in 26 minutes and 42 seconds
......@@ -18,7 +18,7 @@ class CourseSection < ApplicationRecord
def self.latest_by_crn(crn)
where(crn: crn).sort_by { |s| }.first
where(crn: crn).min_by { |s| }
# Select all course sections that have an instructor that matches the given name
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment