JYLN / comm-time

A simple time/job tracking app built with SvelteKit
2 stars 0 forks source link

Bug: 'Time Table' Filtering #26

Closed JYLN closed 1 year ago

JYLN commented 1 year ago

Summary of Potential Bug

While showing off the project to a potential user, I noticed that filtering by date within the Time Table was not working properly.

Description/Ideas on Fixing Bug

Looking at the code for the table column setup, I can confirm the start and end time columns are not excluded from the filter plugin. I'm thinking because I'm using moment to obfuscate the data and present it in a more human readable form, I will need to set each column's getFilterValue property within their column setup to recognize the moment string.

JYLN commented 1 year ago

Docs regarding the getFilterValue option here: svelte-headless-table addTableFilter Docs/getFilterValue