Skip to content

Commit

Permalink
fixes issue plone#6428
Browse files Browse the repository at this point in the history
  • Loading branch information
Eksaq Dev committed Nov 8, 2024
1 parent 5c0dd14 commit 8de7dda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const SearchWidget = (props) => {
const path =
pathname?.length > 0 ? `&path=${encodeURIComponent(pathname)}` : '';

history.push(`./search?SearchableText=${encodeURIComponent(text)}${path}`);
history.push(`/search?SearchableText=${encodeURIComponent(text)}${path}`);
// reset input value
setText('');
event.preventDefault();
Expand Down

0 comments on commit 8de7dda

Please sign in to comment.