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(database-api): allow search for all columns #19662

Merged
merged 1 commit into from
Apr 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(database-api): allow search for all columns
villebro committed Apr 12, 2022
commit 47bce8125c29f7c2cf3f9c50ed74971ada0b1b1c
2 changes: 0 additions & 2 deletions superset/databases/api.py
Original file line number Diff line number Diff line change
@@ -169,8 +169,6 @@ class DatabaseRestApi(BaseSupersetModelRestApi):

edit_columns = add_columns

search_columns = ["allow_file_upload", "expose_in_sqllab"]

search_filters = {
"allow_file_upload": [DatabaseUploadEnabledFilter],
"expose_in_sqllab": [DatabaseFilter],