mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
Order by date?
I'm just troubleshooting a failed spec on ci, which i can't reproduce locally.
This commit is contained in:
parent
7d7c037817
commit
4ce9e46f92
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user