Due to various reasons, I have a HUGE taxonomy that's sorted using negative weights. When we create a new term, it's assigned a weight of zero, and therefore is buried. My users need to hit the up arrow sometimes 50 times to get it to the top of the list.

Is there a way to have Taxonomy Manager first see what the "lightest" weight is and create the new term one lighter?

Comments

mh86’s picture

Status: Active » Closed (won't fix)

I think it's okay to '0' as default value. That's what the most people expect.
Anyway, instead of clicking the up and down arrows 50 times, you can directly change the term's weight when editing it.

ikeigenwijs’s picture

Issue summary: View changes

What when you have more than +-10000 terms?

Would it be an idea to use get_taxonomy tree() on every addition of a term.
get the length of the array and assign a new weight chronologically.