mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: readd orderBy statement to project query (#1394)
This commit is contained in:
parent
d401a8bd59
commit
3704f93ff5
@ -72,7 +72,8 @@ class ProjectStore implements IProjectStore {
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
.leftJoin('features', 'features.project', 'projects.id')
|
.leftJoin('features', 'features.project', 'projects.id')
|
||||||
.groupBy('projects.id');
|
.groupBy('projects.id')
|
||||||
|
.orderBy('projects.name', 'asc');
|
||||||
if (query) {
|
if (query) {
|
||||||
projects = projects.where(query);
|
projects = projects.where(query);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user