diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2015-11-11 15:17:12 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2015-11-11 15:17:12 +0100 |
commit | 7eb502c036f412e9e802600cd67c6520a1f3bff1 (patch) | |
tree | 206c28ab535a4b879b9f84110e7e925ac33b2d02 /lib/api/commit_statuses.rb | |
parent | fb5c3c70216d7a1151fa4ec767cd034bbb435587 (diff) | |
download | gitlab-ce-7eb502c036f412e9e802600cd67c6520a1f3bff1.tar.gz |
Change "recent" scopes to sort by "id"
These scopes can just sort by the "id" column in descending order to
achieve the same result. An added benefit is being able to perform a
backwards index scan (depending on the rest of the final query) instead
of having to actually sort data.
Diffstat (limited to 'lib/api/commit_statuses.rb')
0 files changed, 0 insertions, 0 deletions