FIX EV3-445 Termékmodul- egy termék keresése, latinise null problem
This commit is contained in:
parent
50ebbbbd74
commit
558a99970a
@ -119,7 +119,10 @@ window.ProductAdmin=function (options,ProductItem) {
|
|||||||
{
|
{
|
||||||
"targets": 1,
|
"targets": 1,
|
||||||
"render": function ( data, type, row ) {
|
"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 ] }
|
//{ "visible": false, "targets": [ 0 ] }
|
||||||
@ -473,7 +476,10 @@ window.ProductAdmin=function (options,ProductItem) {
|
|||||||
{
|
{
|
||||||
"targets": 1,
|
"targets": 1,
|
||||||
"render": function ( data, type, row ) {
|
"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 ] }
|
//{ "visible": false, "targets": [ 0 ] }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user