This topic has 9 replies, 2 voices, and was last updated 9 years by dolphspeed99.
-
Author
-
June 22, 2015 at 10:34 #64252
dolphspeed99
ParticipantHi,
I noticed a problem and I was hoping that it will be fixed in the next update, but it seems that the problem is still there. If I search for something with Ajax search I get a set of results (bad results), but if I search the exact same thing using the regular search, then the results are right. Why are the search results different? They should be exactly the same.
I know Ajax search is also set up to search in groups, but I am strictly talking about articles, not groups.
Example: http://www.machomen.ro
If I type “care sunt cele mai bune proteine” and I wait for 1-2 seconds, the Ajax Search displays there top 3 results under “Articles”:
– 6 idei de mese post-antrenament
– Cum să devii un ciclist mai bun
– 20 de superalimente esențiale oricărui bărbatBut if I hit enter, or if I click “See all articles” in the box that displays the Ajax search results, the search results are these:
– Care sunt cele mai bune proteine?
– Cum să devii un ciclist mai bun
– Cele mai mari 10 mituri despre culturismAs you can see, only the second result is the same in both situations. And it is very strange, because I looked for an exact article name, the one that is shown first in regular search, but the article is not showed at all when using Ajax search.
Can you please help me fix this? It’s a huge UX problem.
Thank you!
June 22, 2015 at 17:33 #64276sharmstr
ModeratorIt appears the search results are not displaying be relevancy. Its displaying by date; newest first. As you can see when you hit enter, there are more than 4 results. Because of this, it appears the ajax search is displaying 4 of the newest posts. I’ll take a look at it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 23, 2015 at 00:36 #64388sharmstr
ModeratorCan you try this? Go to /kleo/lib/theme-functions.php and change the following (around line 632)
from this
COPY CODE'suppress_filters' => false,
to this
COPY CODE'suppress_filters' => true,
Let me know what happens
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 23, 2015 at 10:09 #64431dolphspeed99
ParticipantI did the change, but everything is still the same.
June 25, 2015 at 01:15 #64808sharmstr
ModeratorI havent forgotten about you. Just havent figured it out yet.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 25, 2015 at 11:51 #64875dolphspeed99
ParticipantOk, I will wait for a message when you figure out what the problem is 🙂 Thank you.
June 29, 2015 at 16:58 #65500sharmstr
ModeratorThe devs came up with this fix. Go to /kleo/lib and rename theme-functions.php to theme-functions-old.php. Then copy the attached file to /kleo/lib. Make sure you change .txt to .php. Let me know if it works.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.June 29, 2015 at 18:52 #65543dolphspeed99
ParticipantIt seems to work just fine now, thank you. Will this fix be included in the next theme update?
June 29, 2015 at 18:53 #65544sharmstr
Moderatoryes. that’s why I gave you the file instead of having you add something to your child theme
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.