Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Sorting is case insensitive by default, as far as I know.
    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter eversafe

    (@eversafe)

    Hahaa..
    Actually i intend to put my link here earlier. But, i worried about the WP develop team told me to try to avoid. ??

    OK Tobias. Here is my link running with your powerful script.

    https://eversafe.com.sg/es/?page_id=2081

    Thread Starter eversafe

    (@eversafe)

    And, this current view, i alrdy amended all my charctrs with same cases (Upper/Lower).

    But i wanted to avoid in future.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link! Now, in which column are you having problems with upper/lowercase? I don’t see it…

    Regards,
    Tobias

    Thread Starter eversafe

    (@eversafe)

    Hi.
    As i mentioned above “And, this current view, i alrdy amended all my charctrs with same cases (Upper/Lower).”

    For reproduce the issue, please follow the test link here. Please filter the column (Day/Eve).

    But, i just realized that, the filter column shows as seperated (Day vs DAY). But, the filtered result contains both.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the clarification!

    Yes, the ColumnFilterWidgets Extension will show the entries separately, but when the filtering or sorting are performed, they “catch” both upper and lower case.

    Regards,
    Tobias

    Thread Starter eversafe

    (@eversafe)

    So, chances to settle as the ColumnFilterWidgets Extension – should show as single value, regardless of case sensitive..?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sorry, I don’t know a solution to that ?? This would have to be changed in the JS code of the ColumnFilterWidgets code from https://datatables.net/extras/thirdparty/ColumnFilterWidgets/DataTables/extras/ColumnFilterWidgets/ . I didn’t develop that however, so I don’t know how to change it. Sorry.

    Regards,
    Tobias

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sorting with case sensitive’ is closed to new replies.