@dhyasama/totem-models 6.4.0 → 6.4.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/lib/Deal.js CHANGED
@@ -350,6 +350,9 @@ module.exports = function(mongoose, config) {
350
350
 
351
351
  }
352
352
 
353
+ // Required for mixed types
354
+ deal.markModified('customFields');
355
+
353
356
  deal.save(cb);
354
357
 
355
358
  };
@@ -499,7 +499,7 @@ module.exports = function(mongoose, config) {
499
499
 
500
500
  Organization.virtual('customer.deals.fields').get(function () {
501
501
 
502
- // Combine ever-present fields, standard fields and custom fields into a single list and sort by column order
502
+ // Combine standard fields and custom fields into a single list and sort by column order
503
503
  // Fundraise is actually two fields, so multiply the order by ten to make room for the extra field
504
504
 
505
505
  var self = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.4.0",
3
+ "version": "6.4.2",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",