mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
The nodes index, RLS policy, rules, triggers are failing to save for partitions.
refs #6868
This commit is contained in:
committed by
Akshay Joshi
parent
dce5038ffd
commit
7787def660
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 38 KiB |
@@ -158,7 +158,7 @@ define('pgadmin.node.index', [
|
||||
tablespaceList: ()=>getNodeListByName('tablespace', treeNodeInfo, itemNodeData, {}, (m)=>{
|
||||
return (m.label != 'pg_global');
|
||||
}),
|
||||
amnameList : ()=>getNodeAjaxOptions('get_access_methods', nodeObj, treeNodeInfo, itemNodeData),
|
||||
amnameList : ()=>getNodeAjaxOptions('get_access_methods', nodeObj, treeNodeInfo, itemNodeData, {jumpAfterNode: 'schema'}),
|
||||
columnList: ()=>getNodeListByName('column', treeNodeInfo, itemNodeData, {}),
|
||||
},
|
||||
{
|
||||
|
||||
@@ -263,7 +263,6 @@ export default class IndexSchema extends BaseUISchema {
|
||||
readonly: function (state) {
|
||||
return !indexSchemaObj.isNew(state);
|
||||
},
|
||||
url_jump_after_node: 'schema',
|
||||
group: gettext('Definition'),
|
||||
type: () => {
|
||||
return {
|
||||
|
||||
@@ -25,7 +25,7 @@ export function getNodeView(nodeType, treeNodeInfo, actionType, itemNodeData, fo
|
||||
let serverInfo = treeNodeInfo && ('server' in treeNodeInfo) &&
|
||||
pgAdmin.Browser.serverInfo && pgAdmin.Browser.serverInfo[treeNodeInfo.server._id];
|
||||
let inCatalog = treeNodeInfo && ('catalog' in treeNodeInfo);
|
||||
let urlBase = generateNodeUrl.call(nodeObj, treeNodeInfo, actionType, itemNodeData, false, null);
|
||||
let urlBase = generateNodeUrl.call(nodeObj, treeNodeInfo, actionType, itemNodeData, false, nodeObj.url_jump_after_node);
|
||||
const api = getApiInstance();
|
||||
const url = (isNew)=>{
|
||||
return urlBase + (isNew ? '' : itemNodeData._id);
|
||||
|
||||
Reference in New Issue
Block a user