Revision 6bc44f65 snf-cyclades-app/synnefo/helpdesk/views.py

b/snf-cyclades-app/synnefo/helpdesk/views.py
19 19
    """
20 20
    Account details view
21 21
    """
22
    vms = VirtualMachine.objects.all()
23
    networks = Network.objects.all()
22
    vms = VirtualMachine.objects.filter().order_by('deleted')
23
    networks = Network.objects.filter().order_by('state')
24 24
    user_context = {
25 25
        'vms': vms,
26 26
        'account': account,

Also available in: Unified diff