1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

fix: readd orderBy statement to project query (#1394)

This commit is contained in:
Christopher Kolstad 2022-02-25 08:32:12 +01:00 committed by GitHub
parent d401a8bd59
commit 3704f93ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,8 @@ class ProjectStore implements IProjectStore {
),
)
.leftJoin('features', 'features.project', 'projects.id')
.groupBy('projects.id');
.groupBy('projects.id')
.orderBy('projects.name', 'asc');
if (query) {
projects = projects.where(query);
}