Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05978f7fc3 |
@@ -54,7 +54,7 @@ func filterTags(tags []string) func(t *task.Task) bool {
|
||||
|
||||
func filterSubstr(substr string) func(t *task.Task) bool {
|
||||
return func(t *task.Task) bool {
|
||||
found := substr == "" || strings.Contains(fmt.Sprintf("%+v %+v", t.Title, t.Tags), substr)
|
||||
found := substr == "" || strings.Contains(strings.ToLower(fmt.Sprintf("%+v %+v", t.Title, t.Tags)), strings.ToLower(substr))
|
||||
return found
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user