mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where custom sequences are not visible when show system objects are set to false. Fixes #5833
This commit is contained in:
parent
7dca844cbe
commit
324e3e74be
@ -43,4 +43,5 @@ Bug fixes
|
||||
| `Issue #5794 <https://redmine.postgresql.org/issues/5794>`_ - Fixed excessive CPU usage by stopping the indefinite growth of the graph dataset.
|
||||
| `Issue #5815 <https://redmine.postgresql.org/issues/5815>`_ - Fixed an issue where clicking on the 'Generate script' button shows a forever spinner due to pop up blocker.
|
||||
| `Issue #5816 <https://redmine.postgresql.org/issues/5816>`_ - Ensure that the 'CREATE SCHEMA' statement should be present in the generated script if the schema is not present in the target database.
|
||||
| `Issue #5820 <https://redmine.postgresql.org/issues/5820>`_ - Fixed an issue while refreshing Resource Group.
|
||||
| `Issue #5820 <https://redmine.postgresql.org/issues/5820>`_ - Fixed an issue while refreshing Resource Group.
|
||||
| `Issue #5833 <https://redmine.postgresql.org/issues/5833>`_ - Fixed an issue where custom sequences are not visible when show system objects are set to false.
|
@ -254,7 +254,7 @@ class SequenceView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
show_system_objects=True)
|
||||
seq = [dep for dep in system_seq
|
||||
if dep['type'] == 'column' and dep['field'] == 'internal']
|
||||
if not seq:
|
||||
if len(seq) > 0:
|
||||
continue
|
||||
|
||||
# Append the node into the newly created list
|
||||
|
Loading…
Reference in New Issue
Block a user