Fixed indexes not loading in Primary constraint and Unique constraint dialog for partition.

refs #6868
pull/62/head REL-6_0
Aditya Toshniwal 2021-10-06 17:49:50 +05:30 committed by Akshay Joshi
parent 5467b5e085
commit a92bad7909
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ define('pgadmin.node.primary_key', [
spcname: ()=>getNodeListByName('tablespace', treeNodeInfo, itemNodeData, {}, (m)=>{
return (m.label != 'pg_global');
}),
index: ()=>getNodeListByName('index', treeNodeInfo, itemNodeData),
index: ()=>getNodeListByName('index', treeNodeInfo, itemNodeData, {jumpAfterNode: 'schema'}),
}, treeNodeInfo);
},
// Define the model for index constraint node

View File

@ -91,7 +91,7 @@ define('pgadmin.node.unique_constraint', [
spcname: ()=>getNodeListByName('tablespace', treeNodeInfo, itemNodeData, {}, (m)=>{
return (m.label != 'pg_global');
}),
index: ()=>getNodeListByName('index', treeNodeInfo, itemNodeData),
index: ()=>getNodeListByName('index', treeNodeInfo, itemNodeData, {jumpAfterNode: 'schema'}),
}, treeNodeInfo);
},
});