Skip to content

Commit

Permalink
Fixed an issue where the Schema was not visible in the dropdown for t…
Browse files Browse the repository at this point in the history
…able properties or when creating a new table. pgadmin-org#6964
  • Loading branch information
akshay-joshi committed Nov 29, 2023
1 parent c84f38a commit fd1a075
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions docs/en_US/release_notes_8_1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_/));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_/));
Expand Down

0 comments on commit fd1a075

Please sign in to comment.