Add "like" filter comparator
This commit is contained in:
parent
b2e4fde63a
commit
90817b6dae
8 changed files with 43 additions and 7 deletions
|
|
@ -737,7 +737,7 @@ func (err ErrInvalidTaskFilterConcatinator) HTTPError() web.HTTPError {
|
|||
|
||||
// ErrInvalidTaskFilterValue represents an error where the provided task filter value is invalid
|
||||
type ErrInvalidTaskFilterValue struct {
|
||||
Value string
|
||||
Value interface{}
|
||||
Field string
|
||||
}
|
||||
|
||||
|
|
@ -748,7 +748,7 @@ func IsErrInvalidTaskFilterValue(err error) bool {
|
|||
}
|
||||
|
||||
func (err ErrInvalidTaskFilterValue) Error() string {
|
||||
return fmt.Sprintf("Task filter value is invalid [Value: %s, Field: %s]", err.Value, err.Field)
|
||||
return fmt.Sprintf("Task filter value is invalid [Value: %v, Field: %s]", err.Value, err.Field)
|
||||
}
|
||||
|
||||
// ErrCodeInvalidTaskFilterValue holds the unique world-error code of this error
|
||||
|
|
|
|||
Reference in a new issue