Merge pull request #43 from DanudeSandstorm/master

Search by artist
This commit is contained in:
DanudeSandstorm
2018-10-17 16:14:57 -04:00
committed by GitHub

View File

@@ -316,12 +316,14 @@ 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}},
{'gsx$ability': {"$or": textList}},
{'gsx$flavortext': {"$or": textList}}
{'gsx$flavortext': {"$or": textList}},
{'gsx$artist': {"$or": textList}}
]});
creatureResults = creatureResults.find({'$or': [
{'gsx$tags': {"$or": textList}},