diff --git a/docs/en_US/release_notes_4_26.rst b/docs/en_US/release_notes_4_26.rst index 709c8cd1b..09ddd83ea 100644 --- a/docs/en_US/release_notes_4_26.rst +++ b/docs/en_US/release_notes_4_26.rst @@ -43,4 +43,5 @@ Bug fixes | `Issue #5794 `_ - Fixed excessive CPU usage by stopping the indefinite growth of the graph dataset. | `Issue #5815 `_ - Fixed an issue where clicking on the 'Generate script' button shows a forever spinner due to pop up blocker. | `Issue #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 `_ - Fixed an issue while refreshing Resource Group. \ No newline at end of file +| `Issue #5820 `_ - Fixed an issue while refreshing Resource Group. +| `Issue #5833 `_ - Fixed an issue where custom sequences are not visible when show system objects are set to false. \ No newline at end of file diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/__init__.py index 8c7a378ef..a9dd7d2e5 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/__init__.py @@ -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