From 4f226ef30502a588b60848a5a9d00e8e5ead28f5 Mon Sep 17 00:00:00 2001 From: "marko.tikvic" Date: Tue, 8 Jan 2019 15:01:39 +0100 Subject: [PATCH] fixed filterd ordering bug --- filtering.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filtering.go b/filtering.go index e7a7c6e..8b1897e 100644 --- a/filtering.go +++ b/filtering.go @@ -98,10 +98,10 @@ func MakeFilterString(prefix string, filters Filter, validFilters []string) (res symbol := "=" if first { - res += " and " + res += " where " first = false } else { - res += " where " + res += " and " } res += "(" -- 1.8.1.2