Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case sensitive filter does not work for child rows #1841

Open
LukeCz opened this issue Jul 22, 2023 · 0 comments
Open

Case sensitive filter does not work for child rows #1841

LukeCz opened this issue Jul 22, 2023 · 0 comments

Comments

@LukeCz
Copy link

LukeCz commented Jul 22, 2023

Hi,

When filtering with case sensitive the filter does not find upper case.

Live example: https://jsfiddle.net/cujh01qm/1/
Searching for AAA should keep the last row visible. Instead no rows are visible.

Pasting it here as well:

h
a
aaa
A
AAA
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js" integrity_no="sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.3/js/jquery.tablesorter.min.js" integrity_no="sha512-qzgd5cYSZcosqpzpn7zF2ZId8f/8CHmFKZ8j7mU4OUXTNRd5g+ZHBPsgKEwoqxCtdQvExE5LprwwPAgoicguNg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.3/js/widgets/widget-filter.min.js" integrity_no="sha512-699HWp4l5vTjirfUjF9xcfHysRwt29rtBerr2k2YQr6KxI4tDt43Txtmqz84V6+9QTbFiIF+PNfo8sOCD5CCKw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.3/js/widgets/widget-mark.min.js" integrity_no="sha512-rdccgnnXcli1teklCuKwHaPoLI4w01ufZv4aIxGzjSdEb+BeAXth6uRQe1JcMvdneRJ1IPxr9EmrabrHoYGU8A==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.js" integrity_no="sha512-19TrqSGVSwaC2IDGHrD+tAkX59/w5cXy0BHDVwn7OJQXxavORhFSFM7DOO9soXKuo8O7gGNHiG9R2vFrXRBcTQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

$(function() {
$("#IndexTable").tablesorter( {
widgets : [ "filter", 'mark' ],
widgetOptions: {
filter_childRows : true,
filter_ignoreCase : false,
mark_caseSensitive: true,
}
});
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant