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

fix: dataset list filters bug #10398

Merged
merged 2 commits into from
Jul 23, 2020

Conversation

lilykuang
Copy link
Member

SUMMARY

  • update AddDatasetModal database endpoint
  • fix filters on dataset list view

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:
before
After:
Screen Shot 2020-07-22 at 1 30 55 PM

TEST PLAN

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@@ -274,12 +274,15 @@ export default class TableSelector extends React.PureComponent {
}

renderDatabaseSelect() {
const filters = this.props.formMode
? ''
: 'filters:!((col:expose_in_sqllab,opr:eq,value:!t)),';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what we've been doing so far around building API GET urls, but generally I would rather see rison.encode used against JS data structures instead of raw rison as many engs may not be familiar with rison

@lilykuang lilykuang closed this Jul 22, 2020
@lilykuang lilykuang reopened this Jul 22, 2020
@mistercrunch mistercrunch merged commit 37f9b51 into apache:master Jul 23, 2020
@villebro villebro deleted the lily/dataset-list-bug-fixes branch July 26, 2020 10:08
@villebro villebro added v0.37 and removed v0.37 labels Jul 26, 2020
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
* fix dataset list filters

* update database endpoint query params using rison encode
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.38.0 labels Mar 12, 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 size/L 🚢 0.38.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants