Can anyone else confirm this? It seems to be removing terms from nodes that are unpublished.

- Jayson

CommentFileSizeAuthor
#2 delete_orphaned_terms.module.patch1.63 KBquotesbro

Comments

quotesbro’s picture

Priority: Normal » Major

I definitely can confirm this. It is caused by using Drupal function taxonomy_term_count_nodes(), which counts only published nodes.
We should use our own function to count any nodes, regardless of their status.

quotesbro’s picture

StatusFileSize
new1.63 KB

Attaching patch against 6.x-2.x-dev

quotesbro’s picture

Status: Active » Needs review
quotesbro’s picture

Title: removing terms from unpublished nodes? » Count all nodes, regardless of their status