mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-10 08:04:36 -06:00
Correct schema should be displayed in Materialized View dialog. Fixes #3916
This commit is contained in:
parent
317a04eafc
commit
0bb4f005e5
@ -41,6 +41,7 @@ Bug fixes
|
||||
| `Bug #3897 <https://redmine.postgresql.org/issues/3897>`_ - Data should be updated properly for FTS Configurations, FTS Dictionaries, FTS Parsers and FTS Templates.
|
||||
| `Bug #3903 <https://redmine.postgresql.org/issues/3903>`_ - Fixed Query Tool Initialization Error.
|
||||
| `Bug #3908 <https://redmine.postgresql.org/issues/3908>`_ - Fixed keyboard navigation for Select2 and Privilege cell in Backgrid.
|
||||
| `Bug #3916 <https://redmine.postgresql.org/issues/3916>`_ - Correct schema should be displayed in Materialized View dialog.
|
||||
| `Bug #3927 <https://redmine.postgresql.org/issues/3927>`_ - Fixed debugger issue for procedure inside package for EPAS servers.
|
||||
| `Bug #3929 <https://redmine.postgresql.org/issues/3929>`_ - Fix alignment of help messages in properties panels.
|
||||
| `Bug #3935 <https://redmine.postgresql.org/issues/3935>`_ - Ensure that grant wizard should list down functions for EPAS server running with no-redwood-compat mode.
|
@ -130,9 +130,10 @@ define('pgadmin.node.mview', [
|
||||
initialize: function(attrs, args) {
|
||||
if (_.size(attrs) === 0) {
|
||||
// Set Selected Schema and Current User
|
||||
var userInfo = pgBrowser.serverInfo[args.node_info.server._id].user;
|
||||
var schemaLabel = args.node_info.schema._label || 'public',
|
||||
userInfo = pgBrowser.serverInfo[args.node_info.server._id].user;
|
||||
this.set({
|
||||
'schema': 'public', 'owner': userInfo.name,
|
||||
'schema': schemaLabel, 'owner': userInfo.name,
|
||||
}, {silent: true});
|
||||
}
|
||||
pgBrowser.Node.Model.prototype.initialize.apply(this, arguments);
|
||||
|
Loading…
Reference in New Issue
Block a user