• Resolved ericmulder

    (@ericmulder)


    Hi, I think I found a little bug in the backend search engine. The function found_posts in includes/class-algolia-search.php:212 uses the function should_filter_query. But that function checks if it is a search query. But found posts is not a search query.

    I think you could just remove the check there since thefound_posts function is only triggered from the pre_get_posts function on line 155 which itself already checked if it should filter the query (on line 105)

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove should_filter_query in ‘found_posts’ function in backend search’ is closed to new replies.