FIX EV3-445 Termékmodul- egy termék keresése, latinise null problem

This commit is contained in:
E98Developer 2026-07-14 14:30:23 +02:00
parent 50ebbbbd74
commit 558a99970a

View File

@ -119,7 +119,10 @@ window.ProductAdmin=function (options,ProductItem) {
{
"targets": 1,
"render": function ( data, type, row ) {
return type === "sort" ? data.latinise() : data;
if (type === "sort") {
return (data && typeof data === 'string') ? data.latinise() : (data ?? '');
}
return data;
},
},
//{ "visible": false, "targets": [ 0 ] }
@ -473,7 +476,10 @@ window.ProductAdmin=function (options,ProductItem) {
{
"targets": 1,
"render": function ( data, type, row ) {
return type === "sort" ? data.latinise() : data;
if (type === "sort") {
return (data && typeof data === 'string') ? data.latinise() : (data ?? '');
}
return data;
},
},
//{ "visible": false, "targets": [ 0 ] }