#26184: Unable to use custom lookups or transforms in admin `search_fields`
---------------------------------+--------------------------------------
     Reporter:  BertrandBordage  |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  contrib.admin    |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by BertrandBordage):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Here’s a workaround that could work as a solution:
 
[https://github.com/dezede/dezede/commit/5e8be29ef4f24ea016a78a5d78085e222bca79b3
 dezede/dezede@5e8be29].
 I kept `get_search_results` as is to leave the `^`, `=`, & `@`
 functionalities unchanged, but it should of course be changed, as
 suggested above.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.98116a360866f5a39541f621dfdea6ab%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to