@dhyasama/totem-models 6.11.10 → 6.11.12
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 +6 -6
- package/package.json +1 -1
package/lib/Organization.js
CHANGED
|
@@ -595,9 +595,9 @@ module.exports = function(mongoose, config) {
|
|
|
595
595
|
type: 'Reference',
|
|
596
596
|
key: 'source.person',
|
|
597
597
|
isStandard: true,
|
|
598
|
-
order: standardFields.
|
|
599
|
-
colspan: standardFields.
|
|
600
|
-
showOnFilter: standardFields.
|
|
598
|
+
order: standardFields.sourcePerson.order * 10,
|
|
599
|
+
colspan: standardFields.sourcePerson.colspan || 1,
|
|
600
|
+
showOnFilter: standardFields.sourcePerson.showOnFilter === true ? true : false
|
|
601
601
|
});
|
|
602
602
|
}
|
|
603
603
|
|
|
@@ -619,9 +619,9 @@ module.exports = function(mongoose, config) {
|
|
|
619
619
|
type: 'Reference',
|
|
620
620
|
key: 'referrer.person',
|
|
621
621
|
isStandard: true,
|
|
622
|
-
order: standardFields.
|
|
623
|
-
colspan: standardFields.
|
|
624
|
-
showOnFilter: standardFields.
|
|
622
|
+
order: standardFields.referrerPerson.order * 10,
|
|
623
|
+
colspan: standardFields.referrerPerson.colspan || 1,
|
|
624
|
+
showOnFilter: standardFields.referrerPerson.showOnFilter === true ? true : false
|
|
625
625
|
});
|
|
626
626
|
}
|
|
627
627
|
|