Support » Plugin: MB Relationships » Sort order in the Metabox lost or reversed

  • Resolved peroks

    (@peroks)


    Hi,

    in the MB Relationships ADMIN “from”-Metabox, the sort order of the related “to”-posts gets lost whenever a “to”-post is edited and saved. Sometimes the sort order gets reversed.

    So whenever I have edited and saved a “to”-post and later want to edit a “from”-post, I have to manually reorder all “to”-posts in the MB Relationships Metabox before saving. This is slightly annoying in development and a no-go in production.

    Can you please look into this?
    Thanks
    Per

    Here is my MB Relationships config:

    MB_Relationships_API::register( array(
    ‘id’ => ‘tours_to_locations’,
    ‘from’ => array(
    ‘object_type’ => ‘post’,
    ‘post_type’ => ‘product’,
    ‘meta_box’ => array( ‘context’ => ‘advanced’, ‘title’ => ‘Locations’ ),
    ),
    ‘to’ => array(
    ‘object_type’ => ‘post’,
    ‘post_type’ => ‘location’,
    ‘admin_column’ => ‘after title’,
    ‘meta_box’ => array( ‘context’ => ‘normal’, ‘title’ => ‘Used in Tours’ ),
    ),
    ) );

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

Viewing 1 replies (of 1 total)
  • Plugin Author Tran Ngoc Tuan Anh

    (@rilwis)

    Hi,

    We have fixed this bug in version 1.5.0. Please update.

    Sorry for the long time for fixing bugs. It’s quite complicated and we need to upgrade the database structure.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.