Skip to content

API: Fix multi-page results for "/projects" request for currently authorized user

username-removed-29920 requested to merge cwalquist/gitlab-ce:master into master

Fixes the case where calling "/projects" returns the correct count of results, but with some of them duplicated and others missing. This, due to a non-deterministic sort order from the repeated authorized_projects() call. Adding a sort by project id does the trick.

Merge request reports