This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 6 years, 4 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › appearing in suggested search
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 6 years, 4 months ago.
On this search:
https://dev.thebankofcanton.com/meet-the-team/
If you type in “jon parsons” (who doesn’t exist), the results will show a suggestion for “don parsons”, which is a valid page. However, when you click on the name the search bar gets filled in with “don parsons” which aside from being confusing for the user, doesn’t come back with a valid result.
I was able to do some jQuery to fix it:
$('.asp_main_container').on('asp_results_show', function() {
$('.asp_keyword')->each(function() {
$(this).html($(this).html().replace(/ /, ''));
});
});
I don’t have this code running on there to show you guys the problem. Is this something that could be fixed with a setting or is this something that could be patched in a newer version? I don’t want to have to work around the plugin if I don’t have to.
Thanks
Hi,
This is definitely an unknown bug yet. It looks like if the keyword content contains HTML special characters, then some might not be decoded properly. Your fix looks great for now, but I will make sure that this is patched for the upcoming release.
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |