[wp-trac] [WordPress Trac] #17346: The search function can't find numbers?

WordPress Trac wp-trac at lists.automattic.com
Sat May 7 08:46:02 UTC 2011


#17346: The search function can't find numbers?
--------------------------+-------------------------
 Reporter:  JonezJeA      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.1.2
 Severity:  minor         |  Resolution:  worksforme
 Keywords:                |
--------------------------+-------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 works for me: http://dd32.id.au/?s=23+year (first entry contains "23 years
 old")

 SQL Looks correct too:
 {{{
 (((wp_posts.post_title LIKE '%23%') OR (wp_posts.post_content LIKE
 '%23%')) AND ((wp_posts.post_title LIKE '%year%') OR
 (wp_posts.post_content LIKE '%year%')) OR (wp_posts.post_title LIKE '%23
 year%') OR (wp_posts.post_content LIKE '%23 year%'))
 }}}

 If you can reproduce it on a server which you have access to the query log
 for, I'd be interested in seeing the problem first hand.. but I suspect a
 plugin might be interfering.. or.. something.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17346#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list