mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where On-demand rows throw an error when any row cell is edited
and saved it then scroll to get more rows. Fixes #7005
This commit is contained in:
committed by
Akshay Joshi
parent
7c18ddfe7d
commit
bef692d431
@@ -560,7 +560,7 @@ def fetch(trans_id, fetch_all=None):
|
||||
status = 'Error'
|
||||
else:
|
||||
status = 'Success'
|
||||
res_len = len(result)
|
||||
res_len = len(result) if result else 0
|
||||
if fetch_row_cnt != -1 and res_len == ON_DEMAND_RECORD_COUNT:
|
||||
has_more_rows = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user