fix: lint
This commit is contained in:
parent
9ddd7f4889
commit
0c8bed4054
2 changed files with 3 additions and 5 deletions
|
@ -18,9 +18,10 @@ package migration
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"src.techknowlogick.com/xormigrate"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"src.techknowlogick.com/xormigrate"
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -216,10 +216,7 @@ func getNativeValueForTaskField(fieldName string, comparator taskFilterComparato
|
||||||
|
|
||||||
if realFieldName == "Assignees" {
|
if realFieldName == "Assignees" {
|
||||||
vals := strings.Split(value, ",")
|
vals := strings.Split(value, ",")
|
||||||
valueSlice := []string{}
|
valueSlice := append([]string{}, vals...)
|
||||||
for _, val := range vals {
|
|
||||||
valueSlice = append(valueSlice, val)
|
|
||||||
}
|
|
||||||
return valueSlice, nil
|
return valueSlice, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue