Skip to content

Commit

Permalink
add order to rom
Browse files Browse the repository at this point in the history
its required
  • Loading branch information
lukaszreszke committed Mar 21, 2024
1 parent 0f0b8a0 commit 3ab31cf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def search_streams(stream_name)
.where { stream.like("#{stream_name}%") }
.distinct
.limit(10)
.order(:stream)
.pluck(:stream)
.map { |name| Stream.new(name) }
end
Expand Down

0 comments on commit 3ab31cf

Please sign in to comment.