Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual Related Posts Autocomplete - Post Missing #197

Open
benjaminpick opened this issue Dec 25, 2023 · 3 comments
Open

Manual Related Posts Autocomplete - Post Missing #197

benjaminpick opened this issue Dec 25, 2023 · 3 comments

Comments

@benjaminpick
Copy link

Describe the bug
I like the autocomplete search for the "manual related posts" page. However, it doesn't consistenly find post even when I enter the beginning of the post title.

To Reproduce
Here is how it can be reproduced on my website:

Post 6717 - Search for "Ask" -> Results: 3 posts that don't have "Ask" in the title, the correct post (called "Ask me!") is missing
Post 6630 - Search for "Ask" -> Result: 7 posts, with the correct post ("Ask me!) as first result

Maybe that's because on post 6630, they have the same categories. But I thought the point of manual crp is to add posts even if they wouldn't be matched otherwise?

Expected behavior
I expect that he is finding any post that has the keyword I enter anywhere in the title. Actually I would have expected to see only posts that have the keyword in the title, not other posts. But's is ok to show more.

Additional context

List tuning options: only option that is different than default is "limit to same post type" (because I am only using crp for "post")

Do you need more infos? I could send you an export of my posts if you want.

@ajaydsouza
Copy link
Contributor

@benjaminpick

Is this still an ongoing issue? I made a lot of changes in v3.5.x since this post.

@benjaminpick
Copy link
Author

benjaminpick commented Aug 17, 2024

Yes, this issue is still there in 3.5.3 - the search results are as above.

@ajaydsouza
Copy link
Contributor

@benjaminpick

I've been looking into this, but I can't replicate it. Could you set up a staging site that I could log into and run these for myself? It could be the relevance setting.

One option I've been debating is completely turning off CRP to find the related posts and just using get_posts() within WordPress.

See: #207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants