Html being included in numeric fields

Html being included in numeric fields

N3ViTN3ViT Posts: 3Questions: 1Answers: 0

Hi,

I am currently getting an issue of HTML tags and anything inside the TD element being included in the search/filter when the main text of a TD only includes numeric values:

http://live.datatables.net/hajevaxo/1/edit
You can test it by searching for ‘isFound and ‘isNotFound’ to show the contrast between strings and numbers. You can also search for the anchor tags too ‘<a href…'

I also found this existing bug that appears to have not been resolved correctly during my searches:
http://datatables.net/forums/discussion/179/search-filter-finds-matches-in-html-tags

Can anyone offer any guidance on this? is it intended behavior?

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 61,744Questions: 1Answers: 10,111 Site admin
    edited October 2014 Answer ✓

    is it intended behaviour?

    No! That's a bug for sure. Oh well - 1.10.3 didn't stay bug free very long... (edit To clarify it isn't a bug in only 1.10.3, I think it will be from 1.10.0+).

    I'll take a look into this soon. Thanks for the test case!

    Allan

  • N3ViTN3ViT Posts: 3Questions: 1Answers: 0

    No problem and thanks for the prompt response. Is there any way I can check in on the progress/status of this (without annoying someone, that is)?

  • allanallan Posts: 61,744Questions: 1Answers: 10,111 Site admin
    Answer ✓

    I've just committed a fix for this. Your test case was excellent!

    Your test case, with the latest nightly is now running as expected: http://live.datatables.net/hajevaxo/5/edit .

    Regards,
    Allan

  • N3ViTN3ViT Posts: 3Questions: 1Answers: 0

    Thanks for the rapid and direct response, it is greatly appreciated. Tested the nightly in my localhost and it has corrected the issue :)

This discussion has been closed.