1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-31 01:16:01 +02:00
unleash.unleash/src
Christopher Kolstad 791384ddb1
Fix/variants ordering (#1187)
* fix: sort variants on output

We found that for existing variants, the sorting by name wasn't applied, so the index in the patches were wrong. This PR adds the sort also when we're getting variants as part of the getFeature call, not just when we're getting the variants. This should make the UX consistent, and prevent our patches from hitting the wrong index in the variants array.

Co-authored-by: Youssef Khedher <khedher.youssef@hotmail.fr>
2021-12-15 14:20:32 +01:00
..
lib Fix/variants ordering (#1187) 2021-12-15 14:20:32 +01:00
mailtemplates fix: adjust logo in emails 2021-08-16 10:55:06 +02:00
migrations fix: drop client_metrics table 2021-12-10 09:31:54 +01:00
test Fix/variants ordering (#1187) 2021-12-15 14:20:32 +01:00
migrator.ts fix: be explicit when specifying time & replace moment with date-fns (#1072) 2021-11-02 15:13:46 +01:00
server-dev.ts fix: add migration 2021-11-09 11:52:02 +01:00
server.ts fix: fine tune db-config based on experience 2021-09-03 12:57:25 +02:00