pantheon-systems / solr-power

A WordPress plugin to connect to Pantheon's Apache Solr search infrastructure, or your own!
https://wordpress.org/plugins/solr-power/
GNU General Public License v2.0
126 stars 60 forks source link

Page parent ajax request not returning expected results #517

Open greenSkin opened 2 years ago

greenSkin commented 2 years ago

The AJAX request made from the editor when looking for a page parent doesn't return expected results. Seems to not be filtering the query correctly. I see code/comments in this plugin that solr shouldn't be used for AJAX requests, however this particular request is using the REST API via an AJAX call from the post editor admin.

danielbachhuber commented 2 years ago

Hey @greenSkin,

Sorry to hear you're experiencing an issue.

The AJAX request made from the editor when looking for a page parent doesn't return expected results.

Could you share a bit more detail about the results you're seeing vs. the results you'd expect to see?

jocastaneda commented 2 years ago

@greenSkin are you able to pass along some sample code in order to try to replicate the issue?