Search By SKU (Admin)
-
I have question regarding how the SQL is getting built in the Admin search by SKU. When I search by SKU on the product page (using FacetWP also, btw), in general I get the correct products. When I do that on the Admin page, however, I get no or mixed result. Certainly not all results. I noticed in the SQL query generated (link here: https://pastebin.com/wvU29uV2) that there’s an added
“AND relevanssi.doc IN (19844,19846,0,0)” in the query. When I remove that in phpMyAdmin it works correctly. How do I get rid of that part of the query in the Admin?
Also, when I search for SKU partial ‘590’ I get results on the front end, but when I use ’59’ partial I get no results. Do you know why?
Thanks.
The topic ‘Search By SKU (Admin)’ is closed to new replies.