From c567cf0910be0b366f9a6cd6129b021a67c66b76 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 3 Sep 2021 23:17:35 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 4 +++- ayanova/src/views/home-search.vue | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 3aaf1135..49a6d835 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -855,4 +855,6 @@ BUILD 129 CHANGES OF NOTE - case 3943 updated the docs - case 3944 updated the docs - case 3945 made change see case -- Added vert scroll to menu when it's too tall for the display (workorder has the longest menu), was not scrollable and completely accessible before on short screen size \ No newline at end of file +- Added vert scroll to menu when it's too tall for the display (workorder has the longest menu), was not scrollable and completely accessible before on short screen size +- Fixed issue with translation key rather than translated text showing sometimes in History form in log area as well as in Name of item at top +- Fixing issue with translation key rather than translated text showing in search \ No newline at end of file diff --git a/ayanova/src/views/home-search.vue b/ayanova/src/views/home-search.vue index d926cad6..9ee60233 100644 --- a/ayanova/src/views/home-search.vue +++ b/ayanova/src/views/home-search.vue @@ -261,6 +261,9 @@ export default { let lastType = -1; for (let i = 0; i < res.data.searchResults.length; i++) { let item = res.data.searchResults[i]; + item.name = await window.$gz.translation.translateStringWithMultipleKeysAsync( + item.name + ); if (item.type != lastType) { //change of type, set subheader props //de-lodash @@ -363,7 +366,7 @@ async function fetchTranslatedText(vm) { // // async function populateSelectionLists(vm) { - let res = await window.$gz.api.get("enum-list/list/coreview"); + let res = await window.$gz.api.get("enum-list/list/ayatype"); if (res.error) { vm.formState.serverError = res.error; window.$gz.form.setErrorBoxErrors(vm);