Sortable admin column for relationship shown as admin column

Support MB Admin Columns Sortable admin column for relationship shown as admin columnResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35402
    Olivier CayrolOlivier Cayrol
    Participant

    Hi,

    I've successfully added a relationship (show as admin column option) to the custom post type admin page.
    The column is visible but I can't sort my result based on this column (sortable / filtrable). How can I add this functionality ?

    I'm using Admin Columns Pro but the "order / sort / filter" option is not available for this type of column.

    Is there a solution ?

    Thanks

    #35419
    Long NguyenLong Nguyen
    Moderator

    Hi Olivier,

    Currently, MB Admin Columns does not support sorting by relationship values. And please note that the sort parameter is used to sort displayed posts by altering the WordPress query. It works only with non-clonable and non-multiple fields.

    Read more on the documentation
    https://docs.metabox.io/extensions/mb-admin-columns/#3-advanced-configuration

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