Skip to content

Commit e26ae64

Browse files
committed
We don't need another equals in the value
1 parent 0235fb7 commit e26ae64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fields.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,8 @@ func (c *ComparativeString) Parse(query string) error {
128128
// String returns this ComparativeString instance in the form of the query
129129
// parameter that it came in on
130130
func (c ComparativeString) String() string {
131+
if c.Operator == "" {
132+
c.Operator = ""
133+
}
131134
return fmt.Sprintf("%s%s", c.Operator, c.Str)
132135
}

0 commit comments

Comments
 (0)