Compare commits

...

2 Commits

Author SHA1 Message Date
Arik Fraimovich
f504b682f3 Bump version. 2017-04-18 22:50:57 +03:00
Arik Fraimovich
f0719f5ea4 Fix: sort by header no longer working.
Closes #1726.
2017-04-18 22:50:33 +03:00
4 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
# Change Log # Change Log
## v1.0.3 - 2017-04-18
### Fixed
- Fix: sort by column no longer working.
## v1.0.2 - 2017-04-18 ## v1.0.2 - 2017-04-18
### Fixed ### Fixed

View File

@@ -41,9 +41,9 @@ function DynamicTable($sanitize) {
} }
if (this.orderByField) { if (this.orderByField) {
this.allRows = sortBy(this.allRows, this.orderByField.name); this.rows = sortBy(this.rows, this.orderByField.name);
if (this.orderByReverse) { if (this.orderByReverse) {
this.allRows = this.allRows.reverse(); this.rows = this.rows.reverse();
} }
this.pageChanged(); this.pageChanged();
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "redash-client", "name": "redash-client",
"version": "1.0.2", "version": "1.0.3",
"description": "The frontend part of Redash.", "description": "The frontend part of Redash.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@@ -16,7 +16,7 @@ from redash.query_runner import import_query_runners
from redash.destinations import import_destinations from redash.destinations import import_destinations
__version__ = '1.0.2' __version__ = '1.0.3'
def setup_logging(): def setup_logging():