Re: [Django] #6933: You cannot search with spaces if search_fields is declared with "^"

24 views
Skip to first unread message

Django

unread,
Oct 12, 2011, 8:18:44 PM10/12/11
to django-...@googlegroups.com
#6933: You cannot search with spaces if search_fields is declared with "^"
-------------------------------------+-------------------------------------
Reporter: Martín Conte Mac | Owner: diafour
Donell <Reflejo@…> | Status: new
Type: New feature | Version: newforms-
Component: contrib.admin | admin
Severity: Normal | Resolution:
Keywords: nfa-someday yandex- | Triage Stage: Accepted
sprint ep2008 | Needs documentation: 1
Has patch: 1 | Patch needs improvement: 0
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by kmtracey):

* needs_docs: 0 => 1
* ui_ux: => 0
* type: Bug => New feature
* easy: => 0


Comment:

#17039 reported this again. Also given the current behavior is documented
(https://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields)
I'd call this ticket a new feature, not a bug. Also, I don't see that the
doc mentioning the inability to search exactly on phrases with spaces is
changed by the newest patch here so I think there is some doc change
needed in addition to what is added by the patch.

--
Ticket URL: <https://code.djangoproject.com/ticket/6933#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 1, 2019, 8:05:04 AM3/1/19
to django-...@googlegroups.com
#6933: You cannot search with spaces if search_fields is declared with "^"
-------------------------------------+-------------------------------------
Reporter: Martín Conte Mac | Owner: diafour
Donell <Reflejo@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: newforms-

| admin
Severity: Normal | Resolution:
Keywords: nfa-someday yandex- | Triage Stage: Accepted
sprint ep2008 |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by llybin):

Django 2.1.7 same behavior.

--
Ticket URL: <https://code.djangoproject.com/ticket/6933#comment:14>

Django

unread,
May 26, 2020, 12:09:09 PM5/26/20
to django-...@googlegroups.com
#6933: You cannot search with spaces if search_fields is declared with "^"
-------------------------------------+-------------------------------------
Reporter: Martín Conte Mac | Owner: diafour
Donell <Reflejo@…> |
Type: New feature | Status: new
Component: contrib.admin | Version: newforms-
| admin
Severity: Normal | Resolution:
Keywords: nfa-someday yandex- | Triage Stage: Accepted
sprint ep2008 |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Alix Léger):

[https://github.com/django/django/pull/#### PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/6933#comment:15>

Django

unread,
May 29, 2020, 4:30:26 AM5/29/20
to django-...@googlegroups.com
#6933: You cannot search with spaces if search_fields is declared with "^"
-------------------------------------+-------------------------------------
Reporter: Martín Conte Mac | Owner: Alix
Donell <Reflejo@…> | Léger
Type: New feature | Status: assigned

Component: contrib.admin | Version: newforms-
| admin
Severity: Normal | Resolution:
Keywords: nfa-someday yandex- | Triage Stage: Accepted
sprint ep2008 |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* owner: diafour => Alix Léger
* needs_docs: 1 => 0
* status: new => assigned
* needs_tests: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/6933#comment:16>

Django

unread,
Jun 16, 2020, 6:59:47 AM6/16/20
to django-...@googlegroups.com
#6933: You cannot search with spaces if search_fields is declared with "^"
-------------------------------------+-------------------------------------
Reporter: Martín Conte Mac | Owner: Alix
Donell <Reflejo@…> | Léger
Type: New feature | Status: assigned
Component: contrib.admin | Version: newforms-
| admin
Severity: Normal | Resolution:
Keywords: nfa-someday yandex- | Triage Stage: Accepted
sprint ep2008 |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/6933#comment:17>

Django

unread,
Jun 18, 2020, 6:45:50 AM6/18/20
to django-...@googlegroups.com
#6933: You cannot search with spaces if search_fields is declared with "^"
-------------------------------------+-------------------------------------
Reporter: Martín Conte Mac | Owner: Alix
Donell <Reflejo@…> | Léger
Type: New feature | Status: assigned
Component: contrib.admin | Version: newforms-
| admin
Severity: Normal | Resolution:
Keywords: nfa-someday yandex- | Triage Stage: Ready for
sprint ep2008 | checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/6933#comment:18>

Django

unread,
Jun 18, 2020, 3:38:55 PM6/18/20
to django-...@googlegroups.com
#6933: You cannot search with spaces if search_fields is declared with "^"
-------------------------------------+-------------------------------------
Reporter: Martín Conte Mac | Owner: Alix
Donell <Reflejo@…> | Léger
Type: New feature | Status: closed

Component: contrib.admin | Version: newforms-
| admin
Severity: Normal | Resolution: fixed

Keywords: nfa-someday yandex- | Triage Stage: Ready for
sprint ep2008 | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"26a413507abb38f7eee4cf62f2ee9727fdc7bf8d" 26a41350]:
{{{
#!CommitTicketReference repository=""
revision="26a413507abb38f7eee4cf62f2ee9727fdc7bf8d"
Fixed #6933 -- Added support for searching against quoted phrases in
ModelAdmin.search_fields.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/6933#comment:19>

Reply all
Reply to author
Forward
0 new messages