• Resolved KEXINO

    (@kexino)


    Hi. Apologies for such a basic question. I’ve tried reading the documentation and searching here but I cannot find the answer.

    I’m using TablePress for a very basic list of 3 columns. The first column is the date, written in US format (mm/dd/yyyy). I simply want TablePress to list the table with the most-recent date entry at the top.

    I’ve tried using this shortcode:
    [table id=1 row_order=sort row_order_sort_column=A row_order_sort_direction=DESC /]
    but that just seems to sort by the first digits of the date. So if there’s an entry with the date 10/01/2018 and another entry with the date 11/01/2017, the second date gets displayed above the first.

    What do I need to do? Please help.

Viewing 2 replies - 16 through 17 (of 17 total)
  • Hi again,

    Tobias great support! Very fast and accurate explanation. For the future, to solve my problem I had to delete line: (row_order=sort row_order_sort_column=5 row_order_sort_direction=ASC). On the “Edit” screen, using the small sort arrow icons in the header row.

    Thank you again for your help. Sometimes the simplest things becomes the hardest one ??

    Regards,
    Michal

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Sort by year’ is closed to new replies.