superset icon indicating copy to clipboard operation
superset copied to clipboard

Bug when we search metric in metric tab:- search happen on metric name not on verbose

Open dataneta opened this issue 9 years ago • 1 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [Y ] I have checked the superset logs for python stacktraces and included it here as text if any
  • [ Y] I have reproduced the issue with at least the latest released version of superset
  • [ Y] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

V-0.20.5

Expected results

Search should be on metric as well on verbose. As end consumer would search a string that may appear in metric name and/or verbose

Actual results

Search is happening on metric name only. Though it is showing corresponding verbose however it will always confuse end user. For eg: I want distinct count of trip ids so bydefault metric name is set as count__distinct_trip_id and I set verbose as Leads. When I am searching string "Leads" I am getting no search result. However when I am searching "Trips", Leads is appearing in suggestion list.

Steps to reproduce

Change verbose name and search same name in metric.

dataneta avatar Nov 15 '17 10:11 dataneta

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 11 '19 06:04 stale[bot]