From 1d777c1c821699f44f136abcb7970c6e66bee5b8 Mon Sep 17 00:00:00 2001 From: Stefan Scheu Date: Tue, 2 May 2023 09:05:40 +0200 Subject: [PATCH] fix: remove system column "key" on filters --- .../Resources/public/js/pimcore/object/helpers/grid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/AdminBundle/Resources/public/js/pimcore/object/helpers/grid.js b/bundles/AdminBundle/Resources/public/js/pimcore/object/helpers/grid.js index bd7731efcd9..a2c6db305c7 100644 --- a/bundles/AdminBundle/Resources/public/js/pimcore/object/helpers/grid.js +++ b/bundles/AdminBundle/Resources/public/js/pimcore/object/helpers/grid.js @@ -451,7 +451,7 @@ pimcore.object.helpers.grid = Class.create({ var fields = this.fields; for (var i = 0; i < fields.length; i++) { - if(fields[i].key != "id" && fields[i].key != "published" + if(fields[i].key != "id" && fields[i].key != "published" && fields[i].key != "key" && fields[i].key != "filename" && fields[i].key != "classname" && fields[i].key != "creationDate" && fields[i].key != "modificationDate") { @@ -498,7 +498,7 @@ pimcore.object.helpers.grid = Class.create({ } if(fields[i].key != "id" && fields[i].key != "published" && fields[i].key != "fullpath" - && fields[i].key != "filename" && fields[i].key != "classname" + && fields[i].key != "filename" && fields[i].key != "classname" && fields[i].key != "key" && fields[i].key != "creationDate" && fields[i].key != "modificationDate") { var fieldType = fields[i].type;