Skip to content

Commit

Permalink
sorted provider events
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesndrs committed Nov 11, 2024
1 parent 67c589c commit ed68847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/content_providers/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
locals: { total_count: upcoming_events.count,
past_count: past_events.count,
limit: resource_limit,
resources: events,
resources: events.sort_by(&:start),
activator: activator,
view_all_link: events_path(content_provider: @content_provider.title),
inc_expired_link: events_path(content_provider: @content_provider.title, include_expired: true) } %>
Expand Down

0 comments on commit ed68847

Please sign in to comment.