added search by artist to attacks

This commit is contained in:
Daniel 2018-10-14 16:16:15 -04:00
parent a0b114888e
commit 8bacf5fd4b

View File

@ -316,7 +316,8 @@ export default class SearchCollection extends React.Component {
attackResults = attackResults.find({'$or': [
{'gsx$tags': {"$or": textList}},
{'gsx$ability': {"$or": textList}},
{'gsx$flavortext': {"$or": textList}}
{'gsx$flavortext': {"$or": textList}},
{'gsx$artist': {"$or": textList}}
]});
battlegearResults = battlegearResults.find({'$or': [
{'gsx$tags': {"$or": textList}},