Isslam
July 16, 2024, 12:12pm
1
Hi
I had this issue for few weeks and I don’t know why. The filters are gone from the data tab and I cant filter my data. I thought it was something I changed in the form but I checked older forms that I am sure had these filters in the past, and it was the same issue. I can only see the filters on some meta data columns. It’s unavailable for all my data types: dates, numbers, texts, and lists.
@Isslam , we will update you once we fix it. FYI, please be informed that we already have a fix for this …
kobotoolbox:beta
← kobotoolbox:fix-data-table-filters-not-appearing
opened 02:09PM - 10 Jul 24 UTC
## Checklist
1. [ ] If you've added code that should be tested, add tests
2.… [ ] If you've changed APIs, update (or create!) the documentation
3. [x] Ensure the tests pass
4. [x] Make sure that your code lints and that you've followed [our coding style](https://github.com/kobotoolbox/kpi/blob/master/CONTRIBUTING.md)
5. [x] Write a title and, if necessary, a description of your work suitable for publishing in our [release notes](https://community.kobotoolbox.org/tag/release-notes)
6. [ ] Mention any related issues in this repository (as #ISSUE) and in other repositories (as kobotoolbox/other#ISSUE)
7. [ ] Open an issue in the [docs](https://github.com/kobotoolbox/docs/issues/new) if there are UI/UX changes
## Description
## Notes
The `foo in ARRAY` wasn't working, probably beacuse it was an array of enums, not strings. I changed how `isTableColumnFilterable` works, renamed it and added one more for clarity. Added few comments too.
## Related issues
We will be releasing it as a patch release soon.
@Isslam , kindly please be informed that the issue has been fixed with this patch release. For details please see this announcement:
A new patch release 2.024.19a is available and has been deployed to our production servers at 18:00 UTC on Tuesday, 16 July 2024:
Bug fixes and improvements
PR
Description
kpi#5002
Fix 500 error when filtering fields with data endpoint. Make _uuid field always present when filtering fields in /api/v2/assets/<asset_uid>/data.json response, e.g. /api/v2/assets/<asset_uid>/data.json?fields=[field1, field2, etc...]
kpi#5007
Fix bug with table column filters not appearing
Thank you for your kind patience as always!
1 Like