• Resolved bendtho

    (@bendtho)


    Hello,

    First I’d like to say that I’ve been using this plugin for years, and have championed it to many people. Love it, and keep up the great work.

    Here’s my question: when importing tables, there is a drop down for when you are appending to or replacing an existing table that is sorted by ID number. Is there any way for me to adjust the backend code of the plugin to make that list be sorted by [table name] rather than [ID]? I have a ton of tables that aren’t in any particular order when sorted by ID, which makes it difficult updating them sometimes. Being able to sort by table name instead would be a massive help. Thanks!

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, but unfortunately, I can’t see an easy (say just a short) code modification. Essentially, this foreach loop would have to be modified (e.g. the data would have to be saved to a temporary list, which is then sorted).

    I do have a slightly different idea though: For TablePress 2.0 which will be published soon, I plan to convert this simple dropdown into a dropdown with live-search and auto-complete (so that you can start typing the name, for example), to find and select it. Maybe that’s something to wait for? ??

    Regards,
    Tobias

    Thread Starter bendtho

    (@bendtho)

    Thank you for the reply, and your planned new functionality sounds equally as good. I’ll be happy to wait on that – thanks!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great! Good to hear that this will be helpful!

    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 ‘Drop-down Sort Question’ is closed to new replies.