mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
sort feature strategies by created_at first and then sort_order (#2116)
* sort feature strategies by created_at first and then sort_order * fix sorting
This commit is contained in:
parent
ef965d66de
commit
5e2d96593a
@ -193,7 +193,7 @@ class FeatureStrategiesStore implements IFeatureStrategiesStore {
|
|||||||
feature_name: featureName,
|
feature_name: featureName,
|
||||||
environment,
|
environment,
|
||||||
})
|
})
|
||||||
.orderBy('sort_order', 'asc');
|
.orderBy('sort_order', 'created_at');
|
||||||
stopTimer();
|
stopTimer();
|
||||||
return rows.map(mapRow);
|
return rows.map(mapRow);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user