Table isn't displayed with Date filter
See original GitHub issueIssue Summary
The table breaks if there is a date filter
Steps to Reproduce
- with Python executor:
add_result_column(result, 'name', 'name', TYPE_STRING)
add_result_column(result, 'month__filter', 'month__filter', TYPE_DATE)
add_result_column(result, 'section__filter', section__filter', TYPE_STRING)
add_result_row(result, {
'section__filter': 'c',
'month__filter': '2019-01-01',
'name': 'a'
})
- comment
month__filter
column both in add column and row sections and the table will be shown.
Technical details:
- Redash Version: master
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Date table is not filtering the related table
Hi all, I have created the date Table and related the date column of date table to dateofpurchase column of Purchase table. And...
Read more >Excel Not Grouping Dates in Filters? How to Fix It!
Reason 1: Grouping dates in filters is disabled · In Excel, go to File. · Click on Options (usually in the left bottom...
Read more >Unable to filter data table based on date fields
I want to be able to filter based on date fields, not text fields, but this does not seem to be ... which...
Read more >Date filter on table not working correctly - Mr. Excel
Hi Guys I have a table in i use to track orders I filter the column the order dates are in to organize...
Read more >Date Table Filter Not Working on New Data Source - Power BI
I have the Enterprise DNA Date table active in my Power BI app and it is working successfully throughout the application except for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@gabrieldutra the keys idea is interesting.
I took at a stab at it while exploring what’s the issue and came up with:
https://github.com/getredash/redash/compare/fix-3836?expand=1
But it has the following flaws:
You’re welcome to take it from here 😃
I ran a few tests on it yesterday, this is caused by Antd
Select
not supporting data that is notString
orNumber
, so Moment values get this error. I’ll try to open a PR for this today. My idea is to use the keys in the Select Options and then translate them on theonChange
method by usingvalues[key]
.