From b1f89898cca9636a098b5db2f8a7776b9ef22ad4 Mon Sep 17 00:00:00 2001 From: Wolfwood Date: Mon, 30 Sep 2019 11:50:59 +0200 Subject: [PATCH] This should resolve #1297. The objectId was missing from the filter list. It was not include because of fix #1283 about am issue with the userPointers. That should now still be in place since, but I don't 100% understand that issue. --- src/dashboard/Data/Browser/BrowserToolbar.react.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/dashboard/Data/Browser/BrowserToolbar.react.js b/src/dashboard/Data/Browser/BrowserToolbar.react.js index 08c3a7f35f..08ce5fe20c 100644 --- a/src/dashboard/Data/Browser/BrowserToolbar.react.js +++ b/src/dashboard/Data/Browser/BrowserToolbar.react.js @@ -148,16 +148,17 @@ let BrowserToolbar = ({ const classSchema = schema.data.get('classes').get(classNameForEditors); if (classSchema) { classSchema.forEach(({ type, targetClass }, col) => { + schemaSimplifiedData[col] = { + type, + targetClass, + }; + if (col === 'objectId' || isUnique && col !== uniqueField) { return; } if (targetClass === '_User') { userPointers.push(col); } - schemaSimplifiedData[col] = { - type, - targetClass, - }; }); }