Opened 18 years ago
Closed 18 years ago
#4977 closed (wontfix)
search_fields one filed multivalue search bug?
| Reported by: | QingFeng | Owned by: | nobody | 
|---|---|---|---|
| Component: | contrib.admin | Version: | dev | 
| Severity: | Keywords: | search_fields | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
search_fields=['name','age']
web input > 'jack jason'
name LIKE '%jack%' OR name LIKE '%json%'
but,do not
Attachments (1)
Change History (2)
by , 18 years ago
| Attachment: | main.patch added | 
|---|
comment:1 by , 18 years ago
| Resolution: | → wontfix | 
|---|---|
| Status: | new → closed | 
If I'm understanding correctly, you'd rather that the admin do an "and" search instead of an "or" search? Well, we're not going to change that: "or" by default is what all the big boy search engines (Google, Yahoo, etc.) do, and that's what'll be most familiar to most people.
  Note:
 See   TracTickets
 for help on using tickets.
    
patch