Order by date?

I'm just troubleshooting a failed spec on ci, which i can't reproduce locally.
This commit is contained in:
Hakan Ensari 2024-11-20 14:46:47 +01:00
parent 7d7c037817
commit 4ce9e46f92
No known key found for this signature in database

View File

@ -15,6 +15,7 @@ class Day < Sequel::Model
interval.begin, interval.begin,
)) ))
.where(Sequel.expr(:date) <= interval.end) .where(Sequel.expr(:date) <= interval.end)
.order(Sequel.asc(:date))
end end
def currencies def currencies