Commit 93f15a49 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Explicit order of issues in API. Fixes specs for mysql db

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f932996e
No related merge requests found
......@@ -8,7 +8,7 @@ module API
case state
when 'opened' then issues.opened
when 'closed' then issues.closed
else issues
else issues.order('id DESC')
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment