This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Search by id

#8104
Ernest MarcinkoErnest 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:

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

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 🙂