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

15 lines
571 B
JSON
Raw Normal View History

[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "record-based"
},
"baseColumnName": "M|ISBN",
2021-03-01 00:55:10 +01:00
"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
}
]