diff --git a/src/util/exportToNDJson.js b/src/util/exportToNDJson.js index 4aa0e38..683acd4 100644 --- a/src/util/exportToNDJson.js +++ b/src/util/exportToNDJson.js @@ -77,7 +77,7 @@ const exportToNDJson = async jobOptions => { const searchParameterQueries = {}; const valueSetQueries = {}; if (typeFilter) { - // subqueries may be joined together with a comma for a logical "or" + // subqueries may be joined together with a comma or as an array for a logical "or" const tyq = Array.isArray(typeFilter) ? typeFilter : typeFilter.split(','); // loop over each subquery and extract all search params, which are joined via the "&" operator // each subquery is of the format ?