mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-16 19:52:19 -06:00
Fix view data for views/mat views. Fixes #2993
This commit is contained in:
parent
aec86970f2
commit
def2df9028
@ -434,8 +434,10 @@ def start_view_data(trans_id):
|
||||
sql = trans_obj.get_sql()
|
||||
pk_names, primary_keys = trans_obj.get_primary_keys(default_conn)
|
||||
|
||||
# Fetch OIDs status
|
||||
has_oids = trans_obj.has_oids(default_conn)
|
||||
has_oids = False
|
||||
if trans_obj.object_type == 'table':
|
||||
# Fetch OIDs status
|
||||
has_oids = trans_obj.has_oids(default_conn)
|
||||
|
||||
# Fetch the applied filter.
|
||||
filter_applied = trans_obj.is_filter_applied()
|
||||
|
Loading…
Reference in New Issue
Block a user