Skip to content

Commit

Permalink
fix order search result
Browse files Browse the repository at this point in the history
  • Loading branch information
ImenOuidou committed Sep 2, 2024
1 parent f8f6925 commit 5a94086
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/client/src/components/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ const Search = ({
setSearchTerm={setSearchTerm}
resetSearch={resetSearch}
isLoading={isLoading}
onEnterPress={() => sendRequest(searchTerm, options)}
onEnterPress={() => {
resetSort();
sendRequest(searchTerm, options);
}}
/>
</div>
<div className="column is-3 ">
Expand Down

0 comments on commit 5a94086

Please sign in to comment.