@dhyasama/totem-models 6.8.3 → 6.8.4
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/Organization.js +2 -2
- package/package.json +1 -1
package/lib/Organization.js
CHANGED
|
@@ -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
|
|