#58080 closed defect (bug) (duplicate)
No results block is showing although results are found if filter is used
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
I added an additional condition to the post_search
or posts_where
filter:
$where .= " AND {$wpdb->posts}.post_content LIKE '%bar%'";
The title of one post is containing "foo" and I'm searching for "foo".
Because "bar" is part of the post_content of this post and "foo" is part of the title, it shows the post as a search result.
But the no results block is showing too.
If no filter is modifying the search results, this is not showing.
Change History (5)
#2
@
2 years ago
You need to use Twenty-Twenty Three (or add the no results block manually to your site) to see the problem.
#3
@
2 years ago
Reported on GitHub as well: https://github.com/WordPress/gutenberg/issues/49575
Note: See
TracTickets for help on using
tickets.
Maybe related: #58031