Skip to content

Commit

Permalink
fix: [website] The form must post the search to /search and not search.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Oct 2, 2024
1 parent 6c59531 commit 4ce5227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/web/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="position-relative top-0 start-50 translate-middle-x">
{%endif%}
<br />
<form class="row g-3" role="form" method="post" action="search" enctype="multipart/form-data">
<form class="row g-3" role="form" method="post" action="/search" enctype="multipart/form-data">
<div class="col-auto">
<label class="visually-hidden" for="userInput">Search term</label>
<div class="input-group">
Expand Down Expand Up @@ -129,7 +129,7 @@ <h1>
</h1>
<br />
</div>
<form class="row g-3" role="form" method="get" action="search" enctype="multipart/form-data">
<form class="row g-3" role="form" method="get" action="/search" enctype="multipart/form-data">
<input type="text" class="form-control" id="vendor" name="vendor" value="{{vendor}}" hidden>

<div class="row">
Expand Down

0 comments on commit 4ce5227

Please sign in to comment.