Opened 9 years ago

Closed 9 years ago

#4977 closed (wontfix)

search_fields one filed multivalue search bug?

Reported by: QingFeng Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: search_fields
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

search_fields=['name','age']

web input > 'jack jason'

name LIKE '%jack%' OR name LIKE '%json%'

but,do not

Attachments (1)

main.patch (529 bytes) - added by QingFeng 9 years ago.
patch

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by QingFeng

Attachment: main.patch added

patch

comment:1 Changed 9 years ago by Jacob

Resolution: wontfix
Status: newclosed

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.
Back to Top