mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
exact matches in filter widget now allows using == (acts the same as a single equal)
This commit is contained in:
parent
c1d102c698
commit
ddff43ee4c
@ -353,7 +353,7 @@ ts.addWidget({
|
|||||||
"child" : /tablesorter-childRow/, // child row class name; this gets updated in the script
|
"child" : /tablesorter-childRow/, // child row class name; this gets updated in the script
|
||||||
"filtered" : /filtered/, // filtered (hidden) row class name; updated in the script
|
"filtered" : /filtered/, // filtered (hidden) row class name; updated in the script
|
||||||
"type" : /undefined|number/, // check type
|
"type" : /undefined|number/, // check type
|
||||||
"exact" : /(^[\"|\'|=])|([\"|\'|=]$)/g, // exact match
|
"exact" : /(^[\"|\'|=]+)|([\"|\'|=]+$)/g, // exact match (allow '==')
|
||||||
"nondigit" : /[^\w,. \-()]/g, // replace non-digits (from digit & currency parser)
|
"nondigit" : /[^\w,. \-()]/g, // replace non-digits (from digit & currency parser)
|
||||||
"operators" : /[<>=]/g // replace operators
|
"operators" : /[<>=]/g // replace operators
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user