From 558a99970a612509462fc09c8ac2c6b3331217d7 Mon Sep 17 00:00:00 2001 From: E98Developer Date: Tue, 14 Jul 2026 14:30:23 +0200 Subject: [PATCH] =?UTF-8?q?FIX=20EV3-445=20Term=C3=A9kmodul-=20egy=20term?= =?UTF-8?q?=C3=A9k=20keres=C3=A9se,=20latinise=20null=20problem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/js/admin/product.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/resources/js/admin/product.js b/resources/js/admin/product.js index fe9ff4a..f8ecbe4 100644 --- a/resources/js/admin/product.js +++ b/resources/js/admin/product.js @@ -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 ] }