Change the button type to submit so it triggers search.