I’ve previously made a topic with more ideas for managing the Troops page (searching and filters) if you want to incorporate any of them…
Easy example: search “Lycanthropy” and you get Villager (via spell name) and campaign Weretroops (via trait name).
We need a separate filter for troop traits (non-unique traits only).