Fixed an issue where the Schema was not visible in the dropdown for table properties or when creating a new table. #6964

This commit is contained in:
Akshay Joshi 2023-11-29 13:09:01 +05:30
parent c84f38ac0f
commit fd1a0753bc
5 changed files with 6 additions and 8 deletions

View File

@ -35,5 +35,7 @@ Bug fixes
| `Issue #6921 <https://github.com/pgadmin-org/pgadmin4/issues/6921>`_ - Fixed an issue where on entering full screen, the option label is not changed to 'Exit Full Screen' in desktop mode.
| `Issue #6950 <https://github.com/pgadmin-org/pgadmin4/issues/6950>`_ - Ensure that the Authentication Source in the drop-down of the UserManagement dialog aligns with the entries specified for AUTHENTICATION_SOURCES in the configuration file.
| `Issue #6958 <https://github.com/pgadmin-org/pgadmin4/issues/6958>`_ - Reverse engineer serial columns when generating ERD for database/table.
| `Issue #6964 <https://github.com/pgadmin-org/pgadmin4/issues/6964>`_ - Fixed an issue where the Schema was not visible in the dropdown for table properties or when creating a new table.
| `Issue #6984 <https://github.com/pgadmin-org/pgadmin4/issues/6984>`_ - Fixed an issue where the Vacuum option INDEX_CLEANUP have an incorrect value ('AUTO') for database versions < 14.
| `Issue #6989 <https://github.com/pgadmin-org/pgadmin4/issues/6989>`_ - Fixed an issue where the pgAdmin page went blank when clicking the delete button in the User Management dialog.
| `Issue #7000 <https://github.com/pgadmin-org/pgadmin4/issues/7000>`_ - Ensure that correct timezone is set for Docker deployments.

View File

@ -75,8 +75,7 @@ define('pgadmin.node.domain', [
{
role: ()=>getNodeListByName('role', treeNodeInfo, itemNodeData),
schema: ()=>getNodeListByName('schema', treeNodeInfo, itemNodeData, {
cacheLevel: 'database',
cacheNode: 'database'
cacheLevel: 'database'
}),
basetype: ()=>getNodeAjaxOptions('get_types', this, treeNodeInfo, itemNodeData, {
cacheNode: 'type'

View File

@ -78,8 +78,7 @@ define('pgadmin.node.synonym', [
{
role: ()=>getNodeListByName('role', treeNodeInfo, itemNodeData),
schema: ()=>getNodeListByName('schema', treeNodeInfo, itemNodeData, {
cacheLevel: 'database',
cacheNode: 'database'
cacheLevel: 'database'
}),
synobjschema: ()=>getNodeListByName('schema', treeNodeInfo, itemNodeData, {}, (m)=>{
// Exclude PPAS catalogs

View File

@ -30,8 +30,7 @@ export function getNodePartitionTableSchema(treeNodeInfo, itemNodeData, pgBrowse
{
relowner: ()=>getNodeListByName('role', treeNodeInfo, itemNodeData),
schema: ()=>getNodeListByName('schema', treeNodeInfo, itemNodeData, {
cacheLevel: 'database',
cacheNode: 'database',
cacheLevel: 'database'
}, (d)=>{
// If schema name start with pg_* then we need to exclude them
return !(d && d.label.match(/^pg_/));

View File

@ -35,8 +35,7 @@ export function getNodeTableSchema(treeNodeInfo, itemNodeData, pgBrowser) {
{
relowner: ()=>getNodeListByName('role', treeNodeInfo, itemNodeData),
schema: ()=>getNodeListByName('schema', treeNodeInfo, itemNodeData, {
cacheLevel: 'database',
cacheNode: 'database',
cacheLevel: 'database'
}, (d)=>{
// If schema name start with pg_* then we need to exclude them
return !(d && d.label.match(/^pg_/));