You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2021/08/02 08:24:27 UTC

[syncope] 01/02: Removing discriminator from attributes to display in Console

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit d52aac855cb73746f2fcee92266787ea19af8659
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Jul 30 16:15:34 2021 +0200

    Removing discriminator from attributes to display in Console
---
 .../java/org/apache/syncope/common/lib/search/SearchableFields.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SearchableFields.java b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SearchableFields.java
index 62a9fc9..d9f0299 100644
--- a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SearchableFields.java
+++ b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SearchableFields.java
@@ -35,7 +35,8 @@ import org.apache.syncope.common.lib.types.AttrSchemaType;
 public final class SearchableFields {
 
     private static final String[] ATTRIBUTES_NOTINCLUDED = {
-        "serialVersionUID", "password", "type", "udynMembershipCond", "securityAnswer", "token", "tokenExpireTime"
+        "serialVersionUID", "discriminator", "password", "type", "udynMembershipCond", "securityAnswer",
+        "token", "tokenExpireTime"
     };
 
     private static final Set<String> ANY_FIELDS = new HashSet<>();