Skip to content

Commit fb58dec

Browse files
committed
phac_dexa content update
Country and Province menus accidentally left off.
1 parent e1f9fe2 commit fb58dec

5 files changed

Lines changed: 7043 additions & 1122 deletions

File tree

web/templates/phac_dexa/export.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ export default {
121121
// Copy headers to 1st row of new export table
122122
const outputMatrix = [[...ExportHeaders.keys()]];
123123

124+
console.log("outputMatrix", sourceFieldTitleMap, sourceFieldNameMap, outputMatrix);
125+
124126
let normalize = self.initLookup();
125127

126128
const inputMatrix = dh.getTrimmedData(dh.hot);
@@ -130,12 +132,13 @@ export default {
130132
dh,
131133
inputRow,
132134
sourceFields,
135+
//sourceFieldNameMap,
133136
sourceFieldTitleMap, // TITLE Map
134137
normalize,
135138
preserveCapsFields
136139
);
137140

138-
141+
//console.log("RULES",RuleDB)
139142
const outputRow = [];
140143
for (const headerName of ExportHeaders.keys()) {
141144

@@ -292,6 +295,8 @@ export default {
292295
let ruleSourceFieldNames = [
293296
'STTYPE',
294297
'STYPE',
298+
'COUNTRY_1',
299+
'PROVINCE_1',
295300
'SPECIMENSUBSOURCE_1',
296301
'SUBJECT_DESCRIPTIONS',
297302
'SPECIES',

0 commit comments

Comments
 (0)