More than 40 people have been charged in connection with the disorder which left 31 officers inured.