Skip to content
Snippets Groups Projects
  • Benjamin Bertrand's avatar
    ab9b49b8
    Fix sorting of items with some null stack_member · ab9b49b8
    Benjamin Bertrand authored
     '<' not supported between instances of 'NoneType' and 'int'
    
    Sorting worked if all stack_members were None, but not if some were null
    and some int.
    Fixed by converting None to Infinity (so None values are at the end of
    the list.
    
    JIRA INFRA-1112 #action In Progress
    ab9b49b8
    History
    Fix sorting of items with some null stack_member
    Benjamin Bertrand authored
     '<' not supported between instances of 'NoneType' and 'int'
    
    Sorting worked if all stack_members were None, but not if some were null
    and some int.
    Fixed by converting None to Infinity (so None values are at the end of
    the list.
    
    JIRA INFRA-1112 #action In Progress
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
models.py 65.14 KiB