You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by kr...@apache.org on 2019/03/19 23:04:01 UTC
[incubator-superset] branch master updated: fix: search for
visualizations with case-insensitive keyword
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 <bi...@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);