Query for legislations in Legislation controller.