Problem with jump link have to much info when click on button in “form” class

<div class="input2">
  <form action="/browse/room" method="GET">
    <input type="text" name="search" class="search2" placeholder="Search..." value="<%= searchQuery || '' %>" />
    <button type="submit" style="background-color: #ffffff; border: none">
      <img class="search-icon2" alt="" src="/img/search.png" />
    </button>
  </form>
</div>

When I click on this button all content in any input will be sent to my URL, eg:

http://localhost:3000/browse/customer/?date=&search=&customer_id=1002&cccd_passport=&first_name=&last_name=&birthday=&gender=&email=&phone=&address=

I just want only the content in the search input sent to the URL.

I have tried to fix my JS file but there are not any lines of code that affect the jump link.