From 8bacf5fd4b113406a76415842f202e713db7990e Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 14 Oct 2018 16:16:15 -0400 Subject: [PATCH 1/2] added search by artist to attacks --- src/components/collection/Search.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/collection/Search.js b/src/components/collection/Search.js index 2abc2fc..aa28b2c 100644 --- a/src/components/collection/Search.js +++ b/src/components/collection/Search.js @@ -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}}, From 8c37d59bc9c5a38f40488d9013aa6ed14171031e Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 15 Oct 2018 16:01:42 -0400 Subject: [PATCH 2/2] added search by battlegear artist --- src/components/collection/Search.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/collection/Search.js b/src/components/collection/Search.js index aa28b2c..8d3e745 100644 --- a/src/components/collection/Search.js +++ b/src/components/collection/Search.js @@ -322,7 +322,8 @@ export default class SearchCollection extends React.Component { 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}},