superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kri...@apache.org
Subject [incubator-superset] branch master updated: fix: search for visualizations with case-insensitive keyword
Date Tue, 19 Mar 2019 23:04:01 GMT
This is an automated email from the ASF dual-hosted git repository.

kristw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 84109be  fix: search for visualizations with case-insensitive keyword
84109be is described below

commit 84109be1bfa42480865b7bc766de2680fbd9aba2
Author: bipinsoniguavus <bipin.soni@guavus.com>
AuthorDate: Wed Mar 20 04:33:49 2019 +0530

    fix: search for visualizations with case-insensitive keyword
---
 superset/assets/src/explore/components/controls/VizTypeControl.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/explore/components/controls/VizTypeControl.jsx b/superset/assets/src/explore/components/controls/VizTypeControl.jsx
index 0264b1c..b97ffb5 100644
--- a/superset/assets/src/explore/components/controls/VizTypeControl.jsx
+++ b/superset/assets/src/explore/components/controls/VizTypeControl.jsx
@@ -139,7 +139,7 @@ export default class VizTypeControl extends React.PureComponent {
     const registry = getChartMetadataRegistry();
     const types = this.sortVizTypes(registry.entries());
     const filteredTypes = filter.length > 0
-      ? types.filter(type => type.value.name.toLowerCase().includes(filter))
+      ? types.filter(type => type.value.name.toLowerCase().includes(filter.toLowerCase()))
       : types;
 
     const selectedType = registry.get(value);


Mime
View raw message