Django

Code

Ticket #4977 (closed: wontfix)

Opened 1 year ago

Last modified 9 months ago

search_fields one filed multivalue search bug?

Reported by: QingFeng Assigned to: nobody
Milestone: Component: django.contrib.admin
Version: SVN Keywords: search_fields
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

search_fields=['name','age']

web input > 'jack jason'

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

but,do not

Attachments

main.patch (0.5 kB) - added by QingFeng on 07/26/07 03:26:55.
patch

Change History

07/26/07 03:26:55 changed by QingFeng

  • attachment main.patch added.

patch

02/28/08 08:53:05 changed by jacob

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to wontfix.
  • needs_tests changed.
  • needs_docs changed.

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.


Add/Change #4977 (search_fields one filed multivalue search bug?)




Change Properties
Action