The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

My Post Order
Switch between post type removes selected posts (2 posts)

  1. Hyp3R
    Posted 3 years ago #

    Hi again !

    I found a bug that when you switch between post type (articles, pages...), your selected posts are not shown anymore. Here is a quick fix :

    All changes are done in static/js/my_posts_order.js

    After line 105, add this :
    var post_ids = jQuery("input[name=post_ids]").val();

    Change line 109 to this :
    type: "post",url:"admin-ajax.php", data: { action: 'drag_drop_criteria', post_type: post_type, post_ids: post_ids },

    It adds the ids of your selected posts to the query which handle the switch between post type, so it will show your actual selected posts instead of "No selections made".

    I would be glad to help you to update this plugin if you want to !

  2. Kapil Chugh
    Plugin Author

    Posted 3 years ago #


    Thx again for your help!

    Surely, will fix it and update the plugin soon.

    Keep updating me like this :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • My Post Order
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic