mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-18 01:18:23 +02:00
strategies should be order after createdAt ASC
This commit is contained in:
parent
bc4b80c661
commit
03c84c086c
@ -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