Commit 56fab7c8 authored by unknown's avatar unknown

Enabled keyword lowercase search in filter

parent c56eb9dd
......@@ -117,7 +117,7 @@ module.exports = (function () {
};
break;
case 'content':
return f.keywords === "" ? true : f.keywords.every(keyword => resource.content.toLowerCase().includes(keyword))
return f.keywords === "" ? true : f.keywords.every(keyword => resource.content.toLowerCase().includes(keyword.toLowerCase()))
default:
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment