1rosehip / 1rosehip/jplist

checkbox text filter weird results

Open
#326 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
435
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Yes, I know this will not be fixed, I'm just logging this so someone else with this issue does not "burn" 2.5 hours of debugging like I did..
On an existing project with this version of jpList I noticed that the filter results using the Checkbox-text-filter were incorrect.
After a lot of testing I found that the results are incorrect when the value contains a hyphen (-)

This does not work correctly:

```

Nature

Grade-2


```

This does:

```

Nature

Grade-2


```

So I simply replaced the - with _ (is an option in my use case) and the filtering worked correctly

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.