Ver código fonte

[Administration] Factures > Liste : classement par ordre alphabétique de la colonne 'Utilisateur'

feature/rotating_product
Guillaume Bourgeois 5 meses atrás
pai
commit
6064c069fd
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      domain/Document/Invoice/InvoiceSearch.php

+ 2
- 2
domain/Document/Invoice/InvoiceSearch.php Ver arquivo

@@ -70,8 +70,8 @@ class InvoiceSearch extends Invoice
'name',
'date',
'username' => [
'asc' => ['user_invoice.lastname' => SORT_ASC, 'user_invoice.name' => SORT_ASC],
'desc' => ['user_invoice.lastname' => SORT_DESC, 'user_invoice.name' => SORT_DESC],
'asc' => ['IF(ISNULL(user_invoice.name_legal_person), user_invoice.lastname, user_invoice.name_legal_person)' => SORT_ASC],
'desc' => ['IF(ISNULL(user_invoice.name_legal_person), user_invoice.lastname, user_invoice.name_legal_person)' => SORT_DESC],
]
],
'defaultOrder' => [

Carregando…
Cancelar
Salvar