@infrab4a/connect 0.16.0 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/infrab4a-connect.umd.js +2 -1
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/infra/elasticsearch/indexes/products-index.js +2 -1
- package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +2 -2
- package/fesm2015/infrab4a-connect.js +2 -1
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/package.json +1 -1
|
@@ -1539,6 +1539,7 @@
|
|
|
1539
1539
|
'stock',
|
|
1540
1540
|
'weight',
|
|
1541
1541
|
'tags',
|
|
1542
|
+
'hasVariants',
|
|
1542
1543
|
];
|
|
1543
1544
|
return [4 /*yield*/, this.adapter.query('products/_search', Object.assign({ _source: fields, query: {
|
|
1544
1545
|
bool: {
|
|
@@ -2192,7 +2193,7 @@
|
|
|
2192
2193
|
return __generator(this, function (_a) {
|
|
2193
2194
|
switch (_a.label) {
|
|
2194
2195
|
case 0: return [4 /*yield*/, this.collection(this.collectionName)
|
|
2195
|
-
.where('id', 'in', categoryIds)
|
|
2196
|
+
.where('id', 'in', categoryIds.filter(Boolean))
|
|
2196
2197
|
.where('published', '==', true)
|
|
2197
2198
|
.get()];
|
|
2198
2199
|
case 1:
|