• Resolved digbymaass

    (@digbymaass)


    Hi! Your plugin continues to be excellent, but when you want to replace or append to a table the drop down shows oldest first. It makes a lot more sense to show newest first if you have many tables (to me anyway!).
    Previously you gave some code to do this, to add to functions.php, but it has stopped working. ‘Export Table’ has a ‘reverse’ button but the import doesn’t. I wonder if you could update the code so that it works again? Thanks!
    // for the drop down menus in 'import' and 'export'
    add_filter( 'tablepress_load_all_tables', 'array_reverse' );

    The page I need help with: [log in to see the link]

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 see what you mean. Unfortunately, due to how the “Import” screen now works, the approach with that filter hook will no longer work — and right now, I can’t offer an alternative ??

    I will add this to my list of things to check, and I will research possible solutions that could again allow this in the future. In the meantime, as the dropdown field for selecting the table that is to be replaced also offers auto-completion, I suggest that you maybe just type in the table ID or name of the table that you would like to replace, and then select that once the list has been narrowed down.

    Sorry for not having better news here right now ??

    Best wishes,
    Tobias

    Thread Starter digbymaass

    (@digbymaass)

    Ah well… if you ever do find a way that would be great! Thanks!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    Sure, I’ll be taking a look!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Table to replace or append to; show newest first’ is closed to new replies.