Use the edition slug, not the id.  #500
Search using editions.  #500
Sanitizing input.  #500