This topic has 9 replies, 2 voices, and was last updated 9 years by dolphspeed99.

  • Author
  • #64252
     dolphspeed99
    Participant

    Hi,

    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ărbat

    But 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 culturism

    As 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!

    #64276
     sharmstr
    Moderator

    It 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #64388
     sharmstr
    Moderator

    Can 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #64431
     dolphspeed99
    Participant

    I did the change, but everything is still the same.

    #64808
     sharmstr
    Moderator

    I 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #64875
     dolphspeed99
    Participant

    Ok, I will wait for a message when you figure out what the problem is 🙂 Thank you.

    #65500
     sharmstr
    Moderator

    The 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 solution

    This 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.
    #65543
     dolphspeed99
    Participant

    It seems to work just fine now, thank you. Will this fix be included in the next theme update?

    #65544
     sharmstr
    Moderator

    yes. 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #65545
     dolphspeed99
    Participant

    Great, thank you once again.

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?