Server: videos search case insensitive
This commit is contained in:
parent
3737bbafb1
commit
cf6412e85d
|
@ -245,7 +245,7 @@ function search (value, field, start, count, sort, callback) {
|
|||
if (field === 'magnetUri' || field === 'tags') {
|
||||
query[field] = value
|
||||
} else {
|
||||
query[field] = new RegExp(value)
|
||||
query[field] = new RegExp(value, 'i')
|
||||
}
|
||||
|
||||
modelUtils.listForApiWithCount.call(this, query, start, count, sort, callback)
|
||||
|
|
Loading…
Reference in New Issue