sadmann7 / shadcn-table

A shadcn table component with server-side sorting, filtering, and pagination.
https://table.sadmn.com
MIT License
2.16k stars 183 forks source link

[bug]: Advanced Filter doesn't appear to work in demo #256

Open ZipBrandon opened 2 months ago

ZipBrandon commented 2 months ago

Describe the bug

No results returned.

How to reproduce

Turn on advance filtering Filter by something

Link to reproduction

https://table.sadmn.com/?page=1&sort=createdAt.desc&per_page=10&operator=and&title=We.contains

Additional information

Note that the link generated by the advanced filtering case does not initialize the table state appropriately in an advanced state, too.

waltershewmake commented 2 months ago

I've noticed that the advanced filter just doesn't seem to work in general unless you're using the "Contains" option. If you switch to any other choice, like "does not contain," "is," etc, it doesn't work at all.

nuclei272 commented 2 months ago

Not working for me aswell. From what I've seen in queries.ts, it's not taking into account those changes with advanced filter.