Reply To: Search by id

#8104

Ernest Marcinko
Keymaster

Hi!

It was indeed not working, because of the database table collation for the cyrillic symbols. I have changed the code to I have suggested to:

$this->parts[] = array(
  array("( $wpdb->posts.ID LIKE '$s' )"), array()  
);

Now it should search IDs and terms correctly if your switch back to the regular engine along with the ID exclusions.

The demo was indeed not working because there was a maintenance on one of our database servers 🙂

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)