From 3a5464b278721b089d9e4758564813ab22d5c70a Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 7 Aug 2019 11:17:57 +0100 Subject: [PATCH] Display the row count in the popup message when counting table rows, not just in the properties list. Fixes #4574 --- docs/en_US/release_notes_4_12.rst | 1 + .../server_groups/servers/databases/schemas/tables/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_4_12.rst b/docs/en_US/release_notes_4_12.rst index b47a5f959..2ade579e7 100644 --- a/docs/en_US/release_notes_4_12.rst +++ b/docs/en_US/release_notes_4_12.rst @@ -15,6 +15,7 @@ New features | `Issue #4549 `_ - Allow a banner to be displayed on the login and other related pages showing custom text. | `Issue #4566 `_ - Allow enhanced cookie protection to be disabled for compatibility with dynamically addressed hosting environments. | `Issue #4570 `_ - Add an optimisation to the internal code responsible for searching for treeview nodes. +| `Issue #4574 `_ - Display the row count in the popup message when counting table rows, not just in the properties list. Housekeeping ************ diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/__init__.py index f694396be..f519205d2 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/__init__.py @@ -1608,7 +1608,7 @@ class TableView(BaseTableView, DataTypeReader, VacuumSettings): return make_json_response( status=200, - info=gettext("Table rows counted"), + info=gettext("Table rows counted: %s" % count), data={'total_rows': count} )