You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2024/07/16 23:55:18 UTC
(superset) branch master updated: fix: sort schemas when uploading data (#29610)
This is an automated email from the ASF dual-hosted git repository.
beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new b39952549f fix: sort schemas when uploading data (#29610)
b39952549f is described below
commit b39952549f4648eccedc40ad985dbf5803388cc4
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Tue Jul 16 19:55:11 2024 -0400
fix: sort schemas when uploading data (#29610)
---
superset/templates/superset/form_view/database_schemas_selector.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/templates/superset/form_view/database_schemas_selector.html b/superset/templates/superset/form_view/database_schemas_selector.html
index a02ea46098..619c8ff4b2 100644
--- a/superset/templates/superset/form_view/database_schemas_selector.html
+++ b/superset/templates/superset/form_view/database_schemas_selector.html
@@ -37,7 +37,7 @@ under the License.
dataType: 'json',
contentType: "application/json; charset=utf-8"
}).done(function (data) {
- change_schema_field_in_formview(data ? data.schemas : [])
+ change_schema_field_in_formview(data ? data.schemas.sort() : [])
}).fail(function (error) {
var errorMsg = error.responseJSON.error;
alert("ERROR: " + errorMsg);