From d92caed3951dbe2c41763232f90b05f59957fa70 Mon Sep 17 00:00:00 2001
From: "a.schindlbeck" <a.schindlbeck@adito.de>
Date: Tue, 11 Aug 2020 14:48:12 +0200
Subject: [PATCH] #1060652 Favorites: Columnnames

---
 entity/Favorite_entity/Favorite_entity.aod                  | 6 +++++-
 .../entityfields/group_title/titleProcess.js                | 4 ++++
 .../entityfields/object_type/titleProcess.js                | 4 ++++
 entity/Favorite_entity/entityfields/picture/titleProcess.js | 4 ++++
 entity/Favorite_entity/entityfields/title/titleProcess.js   | 4 ++++
 5 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 entity/Favorite_entity/entityfields/group_title/titleProcess.js
 create mode 100644 entity/Favorite_entity/entityfields/object_type/titleProcess.js
 create mode 100644 entity/Favorite_entity/entityfields/picture/titleProcess.js
 create mode 100644 entity/Favorite_entity/entityfields/title/titleProcess.js

diff --git a/entity/Favorite_entity/Favorite_entity.aod b/entity/Favorite_entity/Favorite_entity.aod
index 30d6d10d52..8c07dbcfa3 100644
--- a/entity/Favorite_entity/Favorite_entity.aod
+++ b/entity/Favorite_entity/Favorite_entity.aod
@@ -27,6 +27,7 @@
     </entityField>
     <entityField>
       <name>OBJECT_TYPE</name>
+      <titleProcess>%aditoprj%/entity/Favorite_entity/entityfields/object_type/titleProcess.js</titleProcess>
       <displayValueProcess>%aditoprj%/entity/Favorite_entity/entityfields/object_type/displayValueProcess.js</displayValueProcess>
     </entityField>
     <entityField>
@@ -34,18 +35,21 @@
     </entityField>
     <entityField>
       <name>GROUP_TITLE</name>
+      <titleProcess>%aditoprj%/entity/Favorite_entity/entityfields/group_title/titleProcess.js</titleProcess>
     </entityField>
     <entityField>
       <name>GROUP_TYPE</name>
     </entityField>
     <entityField>
       <name>TITLE</name>
+      <title></title>
+      <titleProcess>%aditoprj%/entity/Favorite_entity/entityfields/title/titleProcess.js</titleProcess>
       <valueProcess>%aditoprj%/entity/Favorite_entity/entityfields/title/valueProcess.js</valueProcess>
     </entityField>
     <entityField>
       <name>PICTURE</name>
-      <title>favos</title>
       <contentType>IMAGE</contentType>
+      <titleProcess>%aditoprj%/entity/Favorite_entity/entityfields/picture/titleProcess.js</titleProcess>
     </entityField>
   </entityFields>
   <recordContainers>
diff --git a/entity/Favorite_entity/entityfields/group_title/titleProcess.js b/entity/Favorite_entity/entityfields/group_title/titleProcess.js
new file mode 100644
index 0000000000..3e8ef82777
--- /dev/null
+++ b/entity/Favorite_entity/entityfields/group_title/titleProcess.js
@@ -0,0 +1,4 @@
+import("system.result");
+import("system.translate");
+
+result.string(translate.text("Group name"));
\ No newline at end of file
diff --git a/entity/Favorite_entity/entityfields/object_type/titleProcess.js b/entity/Favorite_entity/entityfields/object_type/titleProcess.js
new file mode 100644
index 0000000000..e3c4a0c310
--- /dev/null
+++ b/entity/Favorite_entity/entityfields/object_type/titleProcess.js
@@ -0,0 +1,4 @@
+import("system.result");
+import("system.translate");
+
+result.string(translate.text("Object type"));
\ No newline at end of file
diff --git a/entity/Favorite_entity/entityfields/picture/titleProcess.js b/entity/Favorite_entity/entityfields/picture/titleProcess.js
new file mode 100644
index 0000000000..0eb9d89690
--- /dev/null
+++ b/entity/Favorite_entity/entityfields/picture/titleProcess.js
@@ -0,0 +1,4 @@
+import("system.result");
+import("system.translate");
+
+result.string(translate.text("Picture"));
\ No newline at end of file
diff --git a/entity/Favorite_entity/entityfields/title/titleProcess.js b/entity/Favorite_entity/entityfields/title/titleProcess.js
new file mode 100644
index 0000000000..2beec1320b
--- /dev/null
+++ b/entity/Favorite_entity/entityfields/title/titleProcess.js
@@ -0,0 +1,4 @@
+import("system.result");
+import("system.translate");
+
+result.string(translate.text("Name"));
\ No newline at end of file
-- 
GitLab