Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Provider' Filter for Boolean type fields stopped working #2038

Closed
sergey-dme opened this issue Jul 20, 2021 · 5 comments · Fixed by #2064
Closed

Data Provider' Filter for Boolean type fields stopped working #2038

sergey-dme opened this issue Jul 20, 2021 · 5 comments · Fixed by #2064
Labels
bug Something isn't working

Comments

@sergey-dme
Copy link

sergey-dme commented Jul 20, 2021

Hi All,

v. 0.9.78

Data Provider' Filtering by Date/Time stopped working across all my apps. Returns always 0 records.
No changes in formulas/fields/records were made. Even tried with the only Date/Time filed.

This is example where formula is using:
Filter_Date

P.S. It doesn't matter if an app is existing or re-imported.

Please solve the issue.

@sergey-dme sergey-dme added the bug Something isn't working label Jul 20, 2021
@aptkingston
Copy link
Member

@sergey-dme your filter looks correct. I just tried this myself in a fresh app and it works perfectly:
image

Your data provider is still spinning in the screenshot - is it still loading? Either it is being extremely slow or an error has happened, because it would not be spinning like that when there are 0 rows. Does it spin forever or does it stop? Is there an error in the console when you open dev tools?

@sergey-dme
Copy link
Author

sergey-dme commented Jul 21, 2021

@aptkingston Actually the bug with Boolean Type field. Once I removed this condition with Boolean filed filtering It started worked again. It's not related to Date/Time field.

Let's recreate a behavior/issue in a new app:

There is just a simple Table with three columns and two records. Option1 is a Boolean type filed:

image

Again, the records we have (no filter used):

image

If we start using filtering for Option1 field (Boolean) it returns 0!
It should return 1 record in this case:

image

It was working in previous versions.

@sergey-dme sergey-dme changed the title Data Provider' Filter for Date/Time fields stopped working Data Provider' Filter for Boolean type fields stopped working Jul 21, 2021
@sergey-dme
Copy link
Author

sergey-dme commented Jul 21, 2021

Just found:
#2030
#2042

@aptkingston
Copy link
Member

@sergey-dme now that this issue is linked, I'm going to close this one as it's a duplicate. You can keep track of the progress in the existing issues. Thanks for the extra detail though.

@aptkingston
Copy link
Member

@sergey-dme I'm reopening this becaue it's actually a separate issue. I had fixed boolean filtering on data providers already, so something else must have changed here without me realising. This definitely used to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants