mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
strategies should be order after createdAt ASC
This commit is contained in:
parent
893b1d2fb3
commit
6eaf18a7f7
@ -16,7 +16,7 @@ function getStrategies() {
|
|||||||
return knex
|
return knex
|
||||||
.select(STRATEGY_COLUMNS)
|
.select(STRATEGY_COLUMNS)
|
||||||
.from('strategies')
|
.from('strategies')
|
||||||
.orderBy('created_at', 'desc')
|
.orderBy('created_at', 'asc')
|
||||||
.map(rowToStrategy);
|
.map(rowToStrategy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user