1rosehip / jplist-es6

jPList is a JavaScript library for sorting, pagination and filtering of any HTML structure like DIVs, UL/LI, tables, etc.
https://www.jplist.org/
MIT License
83 stars 39 forks source link

BUG: data-path only working with letters in class name #23

Closed t40 closed 6 years ago

t40 commented 6 years ago

I would like to filter class names like class="51-60" or class="70+" but it seems the filters are only working with letters in class names, so things like data-path=".51-60" is not working.

1rosehip commented 6 years ago

The filters work with JS selectors as defined in spec here.

t40 commented 6 years ago

Found a solution. If the class name starts with a letter instead of a number it's working. ;-)

1rosehip commented 6 years ago

I'm glad it's working for you :)