1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

strategies should be order after createdAt ASC

This commit is contained in:
ivaosthu 2014-11-29 11:51:57 +01:00
parent 893b1d2fb3
commit 6eaf18a7f7

View File

@ -16,7 +16,7 @@ function getStrategies() {
return knex
.select(STRATEGY_COLUMNS)
.from('strategies')
.orderBy('created_at', 'desc')
.orderBy('created_at', 'asc')
.map(rowToStrategy);
}