Sorting by field from custom database table

Support MB Admin Columns Sorting by field from custom database tableResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17487
    philphil
    Participant

    Sorry if this is a duplicate. It looks like my previous post for this did not work for some reason.

    The sorting options do not seem to work when the meta data is coming from a custom table. Much like this thread.

    I would like to sort the posts by the field ‘postcode’. However it does not list alphabetically – https://i.imgur.com/XjoAeFP.png

    My code for registering the CPT and meta fields

    Both extensions are enabled https://i.imgur.com/DJEwxxF.png

    Using AIO v1.10.10 and MB v5.2.4

    Am I doing something incorrectly?

    Thanks!

    #18186
    Anh TranAnh Tran
    Keymaster

    Hi phil,

    Sorry for the delay. It's fixed in the latest version of MB Admin Columns and will be available in the next version of AIO (will be released in a few days).

    #18562
    philphil
    Participant

    Working great now, thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.