aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/milestone.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/milestone.go')
-rw-r--r--models/issues/milestone.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/milestone.go b/models/issues/milestone.go
index fba599e6ec..c49799f391 100644
--- a/models/issues/milestone.go
+++ b/models/issues/milestone.go
@@ -361,7 +361,7 @@ func (opts GetMilestonesOption) toCond() builder.Cond {
}
if len(opts.Name) != 0 {
- cond = cond.And(builder.Like{"name", opts.Name})
+ cond = cond.And(builder.Like{"UPPER(name)", strings.ToUpper(opts.Name)})
}
return cond