wpdreams / ajax-search-pro-development

Issues and dev tracking repository for Ajax Search Pro for WordPress plugin
0 stars 0 forks source link

Multisite global search stop working since 4.26.13 #149

Open Krl4 opened 1 month ago

Krl4 commented 1 month ago

Describe the bug

Before version 4.26.13, the global search on multisite installations functioned as intended. You could search WooCommerce products across all sites in a WordPress multisite installation. However, since version 4.26.13 (and also in the latest version 4.26.15), the search only returns "No results". However, internal product searches within a single site of the multisite work correctly. The only change has been the plugin update.

To Reproduce

I downgraded to version 4.26.12 and it worked perfectly fine. The search bar was able to deliver products from other websites of the multisite. I installed the latest versión 4.26.15 back and the search bar only delivered the following message: "No results for xxx!"

Expected behavior

When a search bar is set up to search WooCommerce products across all sites in a WordPress multisite installation, it should return a list of products that match the search criteria, based on the websites configured in the Multisite Options section.

Environment checklist

  •  This bug happens with a default WordPress theme active and with DIVI
  •  This bug happens with a WordPress multisite installation
  •  I can reproduce this bug consistently

Desktop (please complete the following information):

  • OS: linux, windows, android
  • Browser chrome, brave, safari, firefox

Smartphone (please complete the following information):

  • Device: Samsung galaxy a25, Iphone 12
  • OS: andoid, ios
  • Browser brave, safari
  •  

Additional context

It seems that the latest version only returns results from the website where the search is initiated, regardless of the sites added in the multisite options section.
ernestmarcinko commented 1 week ago

Thank you, this is going to be investigated next week.