fixed heptadd showing up too often

This commit is contained in:
Daniel
2019-03-26 03:52:03 -04:00
parent ccad64bc23
commit 6cd9f3875f
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -174,7 +174,7 @@ export default function search_api(input) {
if (el !== "") {
creatureResults = creatureResults.find({'gsx$elements':
{'$regex': new RegExp(el.substring(0, el.length-2), 'i')}
{'$regex': new RegExp("^" + el.substring(0, el.length-2), 'i')}
});
}
}