Does the ground bar on a subpanel need to be bonded to the subpanel?
Yes the grounding side needs to be bonded to the metal case the neutral or grounded side is isolated from the case. The only place both the grounding and grounded conductors are connected together is in the main but both panels need the case bonded to the grounding buss.