Skip to content

Commit

Permalink
remove user schema from the column search
Browse files Browse the repository at this point in the history
  • Loading branch information
kimakan committed Jul 5, 2023
1 parent 4eab550 commit 8f9acf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion daiquiri/query/static/query/js/services/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ app.factory('QueryService', ['$resource', '$http', '$injector', '$q', '$filter',
// breaks the show/hide mechanic of the tooltip.
user_schema.schema_flag = 'user_schema';

/*
var user_columns = [];
angular.forEach(user_schema.tables, function(table) {
angular.forEach(table.columns, function(column) {
Expand All @@ -154,9 +155,11 @@ app.factory('QueryService', ['$resource', '$http', '$injector', '$q', '$filter',
user_columns.push(column_copy);
});
});
*/

BrowserService.render('schemas', service.schemas.concat(user_schema));
BrowserService.render('columns', service.columns.concat(user_columns));
BrowserService.render('columns', service.columns);
//BrowserService.render('columns', service.columns.concat(user_columns));
}).$promise;
}

Expand Down

0 comments on commit 8f9acf2

Please sign in to comment.