You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by kb...@apache.org on 2018/07/31 09:06:15 UTC

[2/2] atlas git commit: ATLAS-2451 : (missing changes) UI support to list tables in a namespace similar to listing tables in a db in the detailsPage of hive_db entity.

ATLAS-2451 : (missing changes) UI support to list tables in a namespace similar to listing tables in a db in the detailsPage of hive_db entity.


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/fdecadd1
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/fdecadd1
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/fdecadd1

Branch: refs/heads/branch-0.8
Commit: fdecadd1dba610624b55a218a032c7141d88da57
Parents: fffca55
Author: Abhishek <ab...@gmail.com>
Authored: Tue Jul 31 14:24:37 2018 +0530
Committer: kevalbhatt <kb...@apache.org>
Committed: Tue Jul 31 14:36:01 2018 +0530

----------------------------------------------------------------------
 dashboardv2/public/js/views/search/SearchResultLayoutView.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/fdecadd1/dashboardv2/public/js/views/search/SearchResultLayoutView.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/search/SearchResultLayoutView.js b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
index 3448fa6..b4cb36e 100644
--- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js
+++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
@@ -220,7 +220,7 @@ define(['require',
                 this.listenTo(this.searchCollection, "error", function(model, response) {
                     this.hideLoader({ type: 'error' });
                     var responseJSON = response && response.responseJSON ? response.responseJSON : null,
-                    errorText = (responseJSON && (responseJSON.errorMessage || responseJSON.message || responseJSON.error ))|| 'Invalid Expression';
+                        errorText = (responseJSON && (responseJSON.errorMessage || responseJSON.message || responseJSON.error)) || 'Invalid Expression';
                     if (errorText) {
                         Utils.notifyError({
                             content: errorText
@@ -492,7 +492,7 @@ define(['require',
                         this.searchCollection.url = UrlLinks.searchApiUrl(value.searchType);
                     }
                     _.extend(this.searchCollection.queryParams, { 'limit': this.limit, 'offset': this.offset, 'query': _.trim(value.query), 'typeName': value.type || null, 'classification': value.tag || null });
-                    if (value.profileDBView && value.profileDBView && value.guid) {
+                    if (value.profileDBView && value.typeName && value.guid) {
                         var profileParam = {};
                         profileParam['guid'] = value.guid;
                         profileParam['relation'] = value.typeName === 'hive_db' ? '__hive_table.db' : '__hbase_table.namespace';