Explicit order of issues in API. Fixes specs for mysql db
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
f932996e10
commit
93f15a4953
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue