Skip to content

Commit

Permalink
Merge pull request getredash#1484 from getredash/v1fixes
Browse files Browse the repository at this point in the history
Fix getredash#1457: sort was using the string value
  • Loading branch information
arikfr authored Dec 23, 2016
2 parents 892c7d4 + 3d85b79 commit 13af543
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions handlers/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ def post(self):
for field in ['id', 'created_at', 'api_key', 'visualizations', 'latest_query_data', 'last_modified_by']:
query_def.pop(field, None)

# If we already executed this query, save the query result reference
if 'latest_query_data_id' in query_def:
query_def['latest_query_data'] = query_def.pop('latest_query_data_id')

query_def['query_text'] = query_def.pop('query')
query_def['user'] = self.current_user
query_def['data_source'] = data_source
Expand Down

0 comments on commit 13af543

Please sign in to comment.