diff --git a/designsafe/apps/nco/managers/ttc_grants.py b/designsafe/apps/nco/managers/ttc_grants.py index f36b0f1948..098316c1a5 100644 --- a/designsafe/apps/nco/managers/ttc_grants.py +++ b/designsafe/apps/nco/managers/ttc_grants.py @@ -42,9 +42,9 @@ def ttc_grants(self, params=None): query['Type'] = params['grant_type'] if params['text_search']: query['$or'] = [ - {'Title': {'$regex': params['text_search']}}, - {'Abstract': {'$regex': params['text_search']}}, - {'PiName': {'$regex': params['text_search']}}, + {'Title': {'$regex': params['text_search'], '$options': 'i'}}, + {'Abstract': {'$regex': params['text_search'], '$options': 'i'}}, + {'PiName': {'$regex': params['text_search'], '$options': 'i'}}, ] #get the grants list