#13312: Add a way to customize the order_by() of null fields
-------------------------------------+-------------------------------------
     Reporter:  Sergey Dobrov        |                    Owner:  felixxm
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  ordering, order_by,  |             Triage Stage:  Ready for
  null                               |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"a699595fce27d5d9c45ba83c656319593c366be9" a699595f]:
 {{{
 #!CommitTicketReference repository=""
 revision="a699595fce27d5d9c45ba83c656319593c366be9"
 Refs #13312 -- Removed unnecessary IF wrapping in nulls_last handling on
 MySQL.

 ISNULL function already returns 0 and 1 on MySQL.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13312#comment:26>
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/064.5a60e205d13afc411747597e062fc0ea%40djangoproject.com.

Reply via email to