Support » Plugin: ReOrder Posts within Categories » Sorting disabled for private only categories

  • Resolved josaffe

    (@josaffe)


    Hello,

    I really like your plugin, but I have trouble with one thing:
    We have some categories with only private posts (which will be published in some weeks by a script). These categories have a term count of 0.
    In ./admin/partials/reorder-post-within-categories-admin-display.php:55 you exclude taxonomies by term count:

    
    if ($term->count < 2) {
      $disabled = ' disabled = "disabled"';
      $catDisabled = true;
    }
    

    Can you please add some way of filtering this, or even remove completely (because these terms still occur in the dropdown…)?

    Thank you very much,
    Josef

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    HI Josef,

    In ./admin/partials/reorder-post-within-categories-admin-display.php:55 you exclude taxonomies by term count:

    terms with fewer than 2 posts cannot be sorted as there aren’t sufficient posts to sort.

    We have some categories with only private posts (which will be published in some weeks by a script). These categories have a term count of 0.

    are you saying that private posts do not register in the count?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I checked on my server and found the bug. Fixed in v2.7.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sorting disabled for private only categories’ is closed to new replies.