Skip to content

Change "recent" scopes to sort by "id"

yorickpeterse-staging requested to merge recent-scope-ordering into master

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.

Merge request reports