Skip to content

Commit

Permalink
Merge pull request #2280 from openstax/sort-offering-by-availability
Browse files Browse the repository at this point in the history
sort the offerings in the bootstrap data
  • Loading branch information
camliu89 authored Mar 16, 2021
2 parents 0f84d39 + f33cb03 commit b93951e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/representers/api/v1/offering_representer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ class Api::V1::OfferingRepresenter < Roar::Decorator
readable: true,
writeable: false

property :number,
type: Integer,
readable: true,
writeable: false

collection :active_term_years,
class: TermYear,
extend: Api::V1::TermYearRepresenter,
Expand Down

0 comments on commit b93951e

Please sign in to comment.