#32461: PostgreSQL UNACCENT function not working on annotations
-------------------------------------+-------------------------------------
     Reporter:  Ismael Jerez         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.postgres     |                  Version:  2.2
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  annotate,            |             Triage Stage:
  annotations, unaccent, postgresql  |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Ismael Jerez):

 It seems it works fine in a simple example like this:

 {{{
 queryset = queryset.annotate(new_field=Value("hello",
 output_field=CharField()))
 queryset.filter(new_field__unaccent__icontains="héllo")
 }}}

 My orginal code has more complexity so I have to keep looking for the
 problem. I am sorry for opening a ticket without testing in a simple way
 first.

 Thanks you anyway,
 Ismael.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32461#comment:3>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.ed0615cc3d1ba3bb9e90217ead5da0ad%40djangoproject.com.

Reply via email to