From eda1cf4a71904d6bc3cf714a831703424b245075 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Thu, 17 Oct 2019 16:25:59 +0200 Subject: [PATCH] Fix order col whitelist processing --- pkg/rh/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rh/order.go b/pkg/rh/order.go index 5d0ee50d3..33d4cea78 100644 --- a/pkg/rh/order.go +++ b/pkg/rh/order.go @@ -21,7 +21,7 @@ func ParseOrder(order string, valid ...string) (out []string, err error) { for _, col := range valid { if i := strings.Index(col, "."); i > -1 { - whitelist[col[i:]] = true + whitelist[col[i+1:]] = true } whitelist[col] = true