Wiktionary
get one's shorts in a knot
vb. (context idiomatic English) (alternative form of get one's knickers in a twist English)