From 2992079cee3dffd09c0c868f034eb8d56d6e60f4 Mon Sep 17 00:00:00 2001 From: Pranav C <61551451+pranavxc@users.noreply.github.com> Date: Mon, 3 Oct 2022 11:40:17 +0530 Subject: [PATCH] fix(sql-client): view list method correction --- .../nocodb/src/lib/db/sql-client/lib/oracle/OracleClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/db/sql-client/lib/oracle/OracleClient.ts b/packages/nocodb/src/lib/db/sql-client/lib/oracle/OracleClient.ts index f41c620241..05be677268 100644 --- a/packages/nocodb/src/lib/db/sql-client/lib/oracle/OracleClient.ts +++ b/packages/nocodb/src/lib/db/sql-client/lib/oracle/OracleClient.ts @@ -997,7 +997,7 @@ class OracleClient extends KnexClient { for (let i = 0; i < response.length; i++) { let el = response[i]; el = mapKeys(el, (_v, k) => k.toLowerCase()); - el.view_name = el.object_name; + el.view_name = el.view_name || el.object_name; response[i] = el; }