• Resolved royalscribe

    (@royalscribe)


    When using the [tdih_tab] function to create a table (such as for all events in a given month), the table sorts by calendar date. For example, an entry for July 10, 1980 sorts before an entry for July 15, 1965. Is there a way to tell it to sort chronologically (by year, then month, then day) rather than only by calendar day, so that the 1965 event appears before the 1980 event?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User 393930

    (@anonymized-393930)

    There is no way to currently change the sort order of the shortcodes.

    I’ll need to look into this a bit. It should already be in ascending year-month-day order but this doesn’t seem to be always be the case.

    I’m also curious about this, and hoping to see chronological sorting regardless of the order or which part of the date (year, month, everything, etc.) is being displayed.

    It sorts that way in the Admin view, but on the public page it reverts to a sort by 01-01-YYYY

    Anonymous User 393930

    (@anonymized-393930)

    Thanks for reporting this issue. It is fixed in version 3.7.3.

    with the recent update my list has changed from sorting to day, month, year to now reads year, day, month.
    In other words the year is the priority which i don’t want. I need to have the table show the day first, so all events on this day show in the one day irrespective of year eg.

    09-08-2020 Died on this day
    15-08-2019 Died on this day
    15-08-2020 Died on this day
    18-08-2019 Died on this day
    18-08-2020 Died on this day
    21-08-2019 Died on this day
    21-08-2020 Died on this day

    At the moment it is sorted by year which it was not before. I am using the code: [tdih_tab month=c]. Is there a new shortcode i have to use?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Table sorting’ is closed to new replies.