@dhyasama/totem-models 6.8.3 → 6.8.5

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.
@@ -620,8 +620,7 @@ module.exports = function(mongoose, config) {
620
620
  options: field.options,
621
621
  order: field.display.order * 10,
622
622
  colspan: field.display.colspan || 1,
623
- showOnFilter: field.display.showOnFilter === true ? true : false,
624
- options: field.options
623
+ showOnFilter: field.display.showOnFilter === true ? true : false
625
624
  });
626
625
  }
627
626
  });
@@ -1111,6 +1110,7 @@ module.exports = function(mongoose, config) {
1111
1110
  domains = domains.map(function(d) {
1112
1111
  d = d.toLowerCase();
1113
1112
  d = d.replace('http://', '').replace('https://', '');
1113
+ d = d.replace('www.', '');
1114
1114
  return d.toLowerCase()
1115
1115
  });
1116
1116
 
@@ -1132,7 +1132,7 @@ module.exports = function(mongoose, config) {
1132
1132
  var self = this;
1133
1133
  self
1134
1134
  .find({ 'funds': { $in : fundids }, 'deleted': {$ne: true} })
1135
- .select('name logoUrl funds')
1135
+ .select('name logoUrl funds contact')
1136
1136
  .exec(cb);
1137
1137
  };
1138
1138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.8.3",
3
+ "version": "6.8.5",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",