diff --git a/config.json b/config.json index 0d8e9ab..8a32515 100644 --- a/config.json +++ b/config.json @@ -105,7 +105,8 @@ "id": "isbn", "title": "ISBN", "type": "string", - "columnWidth": 96, + "format": {"type": "ISBN", "args": [13, true]}, + "columnWidth": 128, "sort": true }, { diff --git a/static/js/infoView.js b/static/js/infoView.js index 5a2a38f..b0a85d2 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -625,8 +625,8 @@ oml.ui.infoView = function(externalData, isMixed) { editable: isEditable, format: function(value) { return (value ? [ - Ox.formatISBN(value, 13), - Ox.formatISBN(value, 10) + Ox.formatISBN(value, 13, true), + Ox.formatISBN(value, 10, true) ] : []).join(separator); }, placeholder: formatLight(Ox._(