diff --git a/server/pkg/filter/sorting_test.go b/server/pkg/filter/sorting_test.go index c6090643b..b9e662f12 100644 --- a/server/pkg/filter/sorting_test.go +++ b/server/pkg/filter/sorting_test.go @@ -117,7 +117,7 @@ func TestSortUmarshaling(t *testing.T) { { "one simple column", `{"sort": "name DESC", "other": true}`, - &tmp{Sorting: Sorting{Sort: SortExprSet{&SortExpr{Column: "name", Descending: true}}}, Other: true}, + &tmp{Sorting: Sorting{Sort: SortExprSet{&SortExpr{Column: "name", columns: []string{"name"}, Descending: true}}}, Other: true}, }, } for _, tt := range tests {