• Resolved Boba Lou Lou

    (@boba-lou-lou)


    I created 4 columns using Tablepress. One of them isn’t working properly anymore. My date posted column is no longer accurate whenever I try to sort it by latest review or first review.

    I noticed this issue earlier this year. The other columns sort accurately though. What could be the issue?

    Please see page https://playingwithsuperpower.com/reviews/

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I’m not really sure why that is. Why might have to specifically instruct a date sorting. For that, please add this to the “Custom Commands” text field on the “Edit” screen of the table:

    "columnDefs": [ { "type": "date", "targets": [ 1 ] } ]
    

    This sets a date format on the second column of the table (indicated by the 1, as counting the columns starts with 0 in this code).

    Regards,
    Tobias

    Thread Starter Boba Lou Lou

    (@boba-lou-lou)

    Ok thank you. That fixed it.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Column Sorting issue’ is closed to new replies.