mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix issue where query history is not visible in the query history tab. Fixes #4777
This commit is contained in:
parent
c54017eac5
commit
051e5038b5
@ -21,3 +21,4 @@ Bug fixes
|
||||
| `Issue #4199 <https://redmine.postgresql.org/issues/4199>`_ - Ensure that 'ENTER' key in the data filter should not run the query.
|
||||
| `Issue #4755 <https://redmine.postgresql.org/issues/4755>`_ - Ensure that pgAdmin should work behind reverse proxy if the inbuilt server is used as it is.
|
||||
| `Issue #4756 <https://redmine.postgresql.org/issues/4756>`_ - Fix issue where pgAdmin does not load completely if loaded in an iframe.
|
||||
| `Issue #4777 <https://redmine.postgresql.org/issues/4777>`_ - Fix issue where query history is not visible in the query history tab.
|
@ -18,6 +18,8 @@ class QueryHistory:
|
||||
# In Python 2.7, rec.query_info has buffer data type. Cast it.
|
||||
if IS_PY2:
|
||||
result = [bytes(rec.query_info) for rec in list(result)]
|
||||
else:
|
||||
result = [rec.query_info for rec in list(result)]
|
||||
|
||||
return make_json_response(
|
||||
data={
|
||||
|
Loading…
Reference in New Issue
Block a user