Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting tables by "modified" is broken #6027

Merged
merged 2 commits into from Oct 5, 2018
Merged

Conversation

betodealmeida
Copy link
Member

The decorator should point to the column name (changed_on).

Currently:

screen shot 2018-10-03 at 10 03 30 am

With this fix:

screen shot 2018-10-03 at 10 03 08 am

Works both for ascending and descending sorting.

@codecov-io
Copy link

Codecov Report

Merging #6027 into master will increase coverage by 1.16%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6027      +/-   ##
==========================================
+ Coverage    64.6%   65.77%   +1.16%     
==========================================
  Files         446      446              
  Lines       23814    25109    +1295     
  Branches     2639     2639              
==========================================
+ Hits        15386    16515    +1129     
- Misses       8415     8581     +166     
  Partials       13       13
Impacted Files Coverage Δ
superset/models/helpers.py 85.97% <100%> (ø) ⬆️
superset/connectors/sqla/models.py 81.13% <0%> (+0.75%) ⬆️
superset/db_engine_specs.py 55.7% <0%> (+0.87%) ⬆️
superset/viz.py 82.28% <0%> (+1.24%) ⬆️
superset/sql_lab.py 73.93% <0%> (+2.5%) ⬆️
superset/views/core.py 78.52% <0%> (+4.4%) ⬆️
superset/cli.py 57.26% <0%> (+7.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9344f1...5b26313. Read the comment docs.

@hughhhh
Copy link
Member

hughhhh commented Oct 5, 2018

👍

@hughhhh hughhhh merged commit df341ff into apache:master Oct 5, 2018
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 11, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 12, 2018
* Fix sorting by modified

* Fix column name in decorator
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 12, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 12, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Oct 17, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Oct 17, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Oct 17, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Oct 17, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
mistercrunch pushed a commit to lyft/incubator-superset that referenced this pull request Oct 29, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Nov 2, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Nov 2, 2018
* Fix sorting by modified

* Fix column name in decorator

(cherry picked from commit df341ff)
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants