Opened 17 years ago

Closed 17 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)

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

Download all attachments as: .zip

Change History (2)

by QingFeng, 17 years ago

Attachment: main.patch added

patch

comment:1 by Jacob, 17 years ago

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