1
0

made tests work again

This commit is contained in:
konrad
2018-06-10 11:41:10 +02:00
committed by kolaente
parent 5510249813
commit db6c2bfd8f
2 changed files with 9 additions and 19 deletions

View File

@ -8,7 +8,6 @@ func ListUsers(searchterm string) (users []User, err error) {
} else {
err = x.
Where("username LIKE ?", "%"+searchterm+"%").
Or("name LIKE ?", "%"+searchterm+"%").
Find(&users)
}