Local law enforcement agencies could also detain those who were previously convicted of a serious or violent felony.The bill passed 24-10 and returns to the Assembly.Gov. Jerry Brown vetoed similar legislation last year because it did not let officials detain those convicted of crimes such as child abuse and drug trafficking.