Search query

This topic contains 1 reply, has 2 voices, and was last updated by  Paolo 8 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #163035

    Y A
    Expired Member
    Post count: 156

    Hello,

    geodirectory-functions/listing_filters.php:752

    
    
    $better_search_terms .= apply_filters("geodir_search_better_search_terms",' OR ( ' . $wpdb->posts . '.post_title LIKE "' . $keyword . '" OR ' . $wpdb->posts . '.post_title LIKE "' . $keyword . '%" OR ' . $wpdb->posts . '.post_title LIKE "% ' . $keyword . '%" )',$keywords,$keyword);
    

    In the final

    post_title LIKE

    , you’ll notice that there is an extra space between the first % and ‘ … this makes the search less powerful.

    For example, searching for “Mike” would not return entries with “Mike’s”

    #163380

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I’ve flagged this for Stiofan to let us know his comments about this.

    Thanks

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount