Skip to content

Commit

Permalink
bug: fix encoded search query string #140
Browse files Browse the repository at this point in the history
  • Loading branch information
mshannaq committed Feb 25, 2024
1 parent 9346d04 commit d8a53f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Controllers/Assist.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ function getUrlParameter(name) {
}
/* define the initial Search from query string */
var initialSearch = getUrlParameter('search') || ''; /* Get search parameter from URL */
var initialSearch = decodeURIComponent(getUrlParameter('search')) || ''; /* Get search parameter from URL */
/* set the default value of search input */
$('#searchInput').val(initialSearch);
Expand Down

0 comments on commit d8a53f9

Please sign in to comment.