How to customize the url of a field in views?
The problem was the way that Content: All taxonomy terms required a rewrite to [term_node_tid-tid]. Otherwise it would display the term name instead of the tid.