We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e6a9d commit bb93c0cCopy full SHA for bb93c0c
src/graphql/resolvers/Procedure.js
@@ -130,11 +130,11 @@ export default {
130
ProcedureModel.find(
131
{
132
$or: [
133
- { procedureId: { $regex: term } },
134
- { title: { $regex: term } },
135
- { abstract: { $regex: term } },
136
- { tags: { $regex: term } },
137
- { subjectGroups: { $regex: term } },
+ { procedureId: { $regex: term, $options: 'i' } },
+ { title: { $regex: term, $options: 'i' } },
+ { abstract: { $regex: term, $options: 'i' } },
+ { tags: { $regex: term, $options: 'i' } },
+ { subjectGroups: { $regex: term, $options: 'i' } },
138
],
139
period: 19,
140
},
0 commit comments