Smart-Table icon indicating copy to clipboard operation
Smart-Table copied to clipboard

Date and numeric filtering example not filtering on firstname/lastname

Open awitney opened this issue 8 years ago • 3 comments

Hi,

When trying the "Date and numeric filtering" example in the documentation, the firstName and lastName filter boxes don't seem to do any filtering. The date and numeric filters seem to function ok. The reasons I am specifically interested is that I cannot work out how to have a strict filter on only one column (the olher columns still matching by substring).Specifically, in the example "Strict mode filtering", enabling the strict filter for the last column means that all other columns are now strict, is this intended?

Thanks

Adam

awitney avatar Sep 14 '15 15:09 awitney

Hi, I think the example on date & numeric is broken, I'll have a look. However the strict mode example seems to work fine for me. Note the filters are cumulative working as "AND" so if you select bachelor only then changing the input for the lastname will result in "SELECT items WHERE education = "bachelore" AND lastname ILIKE "newinput" "

lorenzofox3 avatar Sep 16 '15 14:09 lorenzofox3

Thanks for your reply. I think you are referring to the “Custom search plugins” example which as you say does work, so I will take a look at this to get my filter working. I was actually referring to the “Strict mode filtering” example just above, but I see now that this has strict filtering across the whole table (By the way in this example I think the first name column filtering is not working, e.g. searching on "LAURENT" gives no rows)

awitney avatar Sep 16 '15 15:09 awitney

I'm testing, same problem here.

stivyw avatar Sep 18 '15 08:09 stivyw