@pintahub/database-schemas 5.6.0 → 5.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "5.6.0",
3
+ "version": "5.6.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -376,7 +376,10 @@ const Product = new Schema({
376
376
  Product.index({store: 1, status: 1, is_primary: 1, sales_count: -1})
377
377
 
378
378
  Product.index({store: 1, status: 1, collections: 1, views_count: -1}, {
379
- partialFilterExpression: {status: 'active'}
379
+ partialFilterExpression: {
380
+ status: 'active',
381
+ publications: 'online_store'
382
+ }
380
383
  })
381
384
 
382
385
  Product.index({store: 1, product_type: 1, status: 1})