From b5995efdcfc1fe457257f49d91cd4a2b029d2416 Mon Sep 17 00:00:00 2001
From: Markus Escher <m.escher@adito.de>
Date: Wed, 6 Mar 2019 09:32:39 +0100
Subject: [PATCH] change Countries searchableFields

---
 entity/Countries_Entity/Countries_Entity.aod | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/entity/Countries_Entity/Countries_Entity.aod b/entity/Countries_Entity/Countries_Entity.aod
index eed8b7c295..105481d336 100644
--- a/entity/Countries_Entity/Countries_Entity.aod
+++ b/entity/Countries_Entity/Countries_Entity.aod
@@ -56,42 +56,52 @@
     <entityField>
       <name>ISO2</name>
       <title>ISO 3166-1 alpha-2</title>
+      <searchable v="false" />
     </entityField>
     <entityField>
       <name>ISO3</name>
       <title>ISO 3166-1 alpha-3</title>
+      <searchable v="false" />
     </entityField>
     <entityField>
       <name>ADDR_FORMAT</name>
+      <searchable v="false" />
     </entityField>
     <entityField>
       <name>ZIP_REGEX</name>
       <documentation>%aditoprj%/entity/Countries_Entity/entityfields/zip_regex/documentation.adoc</documentation>
+      <searchable v="false" />
     </entityField>
     <entityField>
       <name>NAME</name>
+      <searchable v="true" />
     </entityField>
     <entityField>
       <name>REQUIRED_FIELDS</name>
       <documentation>%aditoprj%/entity/Countries_Entity/entityfields/required_fields/documentation.adoc</documentation>
+      <searchable v="false" />
     </entityField>
     <entityField>
       <name>NAME_TRANSLATED</name>
       <title>Latin Name</title>
+      <searchable v="false" />
       <valueProcess>%aditoprj%/entity/Countries_Entity/entityfields/name_translated/valueProcess.js</valueProcess>
     </entityField>
     <entityField>
       <name>FLAG</name>
       <contentType>IMAGE</contentType>
+      <searchable v="false" />
       <valueProcess>%aditoprj%/entity/Countries_Entity/entityfields/flag/valueProcess.js</valueProcess>
     </entityField>
     <entityField>
       <name>FLAG_RAW</name>
       <description>//todo: move flags to binaries (asys_binaries)</description>
+      <searchable v="false" />
     </entityField>
     <entityField>
       <name>NAME_ORIGIN</name>
       <title>Native Name</title>
+      <searchable v="false" />
     </entityField>
   </entityFields>
   <recordContainers>
-- 
GitLab