diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc
index 4cf9583935..8ee98b918b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc
@@ -589,7 +589,10 @@
searchable: true,
orderable: true,
render: function (data, type, row, meta) {
- return '%s'.format(row.biblio_id, row.item_id, row.external_id);
+ if ( row.external_id != null ) {
+ return '%s'.format(row.biblio_id, row.item_id, row.external_id);
+ }
+ return '';
}
},
{