At issue was a public-records request filed by a former captain with the state Motor Transportation Police Division, Charles Cox, who was fired in 2005 for making a racist comment about a black patrolman and for discrimination against a female employee.