Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search for quoted phrase on mobile › Reply To: Search for quoted phrase on mobile
Hi Ernest, the website is at https://swop-demo.co.uk, though I have spotted the problem. On the phone the search URL is constructed as:
https://swop-demo.co.uk/?s=“Red+cow” with double quotes. It works when the ” is replaced with %22.
On my Mac the RUL is constructed as:
https://swop-demo.co.uk/?s=%22Red+Cow%22 with %22
On my iphone with the zero results, the returned search URI is:
https://swop-demo.co.uk/?s=”Red+Cow”&asp_active=1&p_asid=3&p_asp_data=1&aspf%5Bsearch_date__6%5D%5Bupper%5D=&aspf%5Bsearch_date__6%5D%5Blower%5D=&device=3&filters_initial=1&filters_changed=0&qtranslate_lang=0&asp_highlight=1¤t_page_id=-1
If I construct the search URL myself on my phone, it works and I get the expected 62 results.
https://swop-demo.co.uk/?s=%22Red+Cow%22
The full working URL being:
https://swop-demo.co.uk/?s=%22Red+Cow%22&asp_active=1&p_asid=3&p_asp_data=1&aspf%5Bsearch_date__6%5D%5Bupper%5D=&aspf%5Bsearch_date__6%5D%5Blower%5D=&device=3&filters_initial=1&filters_changed=0&qtranslate_lang=0&asp_highlight=1¤t_page_id=-1
It looks like the searchtext input field on mobile behaves differently to on the Mac.