ba-sachsen-pica/bibliotheca/config/main/2000.json

15 lines
571 B
JSON

[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "record-based"
},
"baseColumnName": "M|ISBN",
"expression": "grel:[ forNonBlank(cells['M|ISBN'].value.replace('-',''),v,if(and(isNumeric(v), or(v.length() == 10, v.length() == 13)), v, null), null), forNonBlank(cells['M|ISBN2'].value.replace('-',''),v,if(and(isNumeric(v), or(v.length() == 10, v.length() == 13)), v, null), null) ].uniques().join('␟').toUppercase()",
"onError": "set-to-blank",
"newColumnName": "2000",
"columnInsertIndex": 3
}
]