mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an error that could be seen when click on any system column of a table. Fixes #4577
This commit is contained in:
committed by
Akshay Joshi
parent
f8f7d5ac6f
commit
53ab4d7e8d
@@ -970,9 +970,15 @@ class ColumnsView(PGChildNodeView, DataTypeReader):
|
||||
clid: Column ID
|
||||
|
||||
"""
|
||||
|
||||
# Specific condition for column which we need to append
|
||||
where = "WHERE dep.objid={0}::OID AND dep.objsubid={1}".format(
|
||||
tid, clid
|
||||
)
|
||||
|
||||
# Specific condition for column which we need to append
|
||||
dependencies_result = self.get_dependencies(
|
||||
self.conn, clid
|
||||
self.conn, clid, where
|
||||
)
|
||||
|
||||
return ajax_response(
|
||||
|
||||
Reference in New Issue
Block a user