koalyptus / TableFilter

A Javascript library making HTML tables filterable and a bit more :)
https://www.tablefilter.com
MIT License
324 stars 95 forks source link

Checklist doesn't work if or_operator is redefined #842

Open StevyPalarski opened 1 year ago

StevyPalarski commented 1 year ago

Column type checklist doesn't work properly if a or_operator is set in initialisation.

Steps to reproduce the behavior:

  1. Create an html table with tableFilter on it and at least 1 checklist type or use the html_checklist file in test.
  2. Add the property or_operator and choose "," for example.

The first property, the filter doesn't take it, but if you choose a second property inside the checklist. The first one will be applied but not the second.

To fix this, you should consider the size of the or_operator can be override inside src/modules/checkList.js at line 495.