pgAdmin 4 commit: Fix sorting of sizes on the statistics views by sorti

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Fix sorting of sizes on the statistics views by sorti
Date: 2017-05-08 10:29:18
Message-ID: E1d7fuo-0000tP-HU@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fix sorting of sizes on the statistics views by sorting raw values and prettifying on the client side. Includes Jasmine tests for the prettyfying function. Fixes #2315

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=94b7fc483a3b70cb1e168396f3bc65c455a419cf
Author: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>

Modified Files
--------------
.../js/exclusion_constraint.js | 1 +
.../index_constraint/js/index_constraint.js | 1 +
.../tables/indexes/templates/index/js/index.js | 4 +-
.../exclusion_constraint/sql/default/stats.sql | 4 +-
.../templates/index/sql/default/coll_stats.sql | 2 +-
.../tables/templates/index/sql/default/stats.sql | 4 +-
.../templates/index_constraint/sql/stats.sql | 4 +-
.../schemas/tables/templates/table/js/table.js | 8 ++-
.../table/sql/default/coll_table_stats.sql | 4 +-
.../tables/templates/table/sql/default/stats.sql | 16 ++---
.../databases/templates/databases/js/databases.js | 4 +-
.../templates/databases/sql/9.2_plus/stats.sql | 4 +-
.../templates/databases/sql/default/stats.sql | 2 +-
.../templates/tablespaces/js/tablespaces.js | 4 +-
.../templates/tablespaces/sql/default/stats.sql | 4 +-
.../misc/statistics/static/js/statistics.js | 50 +++++++++++-----
web/pgadmin/static/js/size_prettify.js | 24 ++++++++
web/regression/javascript/size_prettify_spec.js | 68 ++++++++++++++++++++++
18 files changed, 169 insertions(+), 39 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-05-08 10:29:24 Re: [pgAdmin4][Patch]: Fixed RM #2315 : Sorting by size is broken
Previous Message Dave Page 2017-05-08 10:21:52 Re: [pgAdmin4][Patch][RM2257]: Query tool - Insert row doesn't use default values