Comments 1Larry Kolinek started the conversationMarch 12, 2019 at 1:59amhello,when I'm using global search and the wdt_search input (search) field has this typed into it:Marriott's Aruba Ocean Clubthe URL is shown as this: /?wdt_search=Marriott%27s+Aruba+Ocean+Cluband the displayed field for global search has this:Marriott\'s Aruba Ocean Cluband then that causes NO records to be found, because of the backslash...HOW DO I fix this issue?thanks! 1Larry Kolinek repliedMarch 12, 2019 at 3:44pmanswer/solution: public function getDefaultSearchValue() { $str = urldecode($this->_defaultSearchValue); $str = str_replace('\\', '', $str); return $str }:) 2,572Aleksandar repliedMarch 13, 2019 at 9:48amGreat troubleshooting, Larry!Thanks for providing this solution!Best regards.Kind Regards, Aleksandar Vuković[email protected] Rate my support wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community You can try wpDataTables add-ons before purchasing on these sandbox sites: Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables Sign in to reply ...
hello,
when I'm using global search and the wdt_search input (search) field has this typed into it:
Marriott's Aruba Ocean Club
the URL is shown as this:
/?wdt_search=Marriott%27s+Aruba+Ocean+Club
and the displayed field for global search has this:
Marriott\'s Aruba Ocean Club
and then that causes NO records to be found, because of the backslash...
HOW DO I fix this issue?
thanks!
answer/solution:
public function getDefaultSearchValue() {
$str = urldecode($this->_defaultSearchValue);
$str = str_replace('\\', '', $str);
return $str
}
:)
Great troubleshooting, Larry!
Thanks for providing this solution!
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables