Skip to content

Table filter not working #8273

@cmyip

Description

@cmyip

When "emit filter events" is checked for table, filter no longer works.

Expected results

Clicking on rows in table should emit filter event and other widgets should react to filter events

Actual results

Browser's console would log "Cannot read property 'columns' of undefined".

Screenshots

image

image

How to reproduce the bug

This assumes we are using superset with sample data

  1. Open "World's Bank Data" dashboard
  2. Select Explore Chart
    image
  3. Customize and select "Emit filter events"
    image
  4. Go back to "World's Bank Data", click first column on any rows, you should see Javascript console error

Environment

(please complete the following information):

  • superset version: 0.34.1
  • python version: 3.7.4
  • node.js version: 10.16.3
  • npm version: 6.10.3

Checklist

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 there are 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.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    !deprecated-label:bugDeprecated label - Use #bug instead.pinnedDraws attentioninactiveInactive for >= 30 days

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions