• Yorick Peterse's avatar
    Change "recent" scopes to sort by "id" · 7eb502c0
    Yorick Peterse authored
    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.
    7eb502c0
issuable.rb 4.69 KB