Skip to content
Snippets Groups Projects
Verified Commit 93f15a49 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

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

parent f932996e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment