Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not exactly sure what caused this, but my assumption is that the updated DataTables JS library now recognized the column with those images as HTML and not as strings. When it does that, it removes all the HTML code (and for images, that includes the alt attribute) and makes only the rest sortable.

    To change this, you could try to specifically set the column type to string for the image column. For that, please try adding this to the “Custom Commands” textfield on the “Edit” screen of the table:

    "columnDefs": [ { "type": "string", "targets": 2 } ]

    Regards,
    Tobias

    Thread Starter kintopp

    (@kintopp)

    It worked! Thank you, Tobias.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search on ALT text broken in v1.5?’ is closed to new replies.